package org.allcolor.services.servlet;
public class RemoteException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = -1366665985781787766L;
private final int errorCode;
public RemoteException(final String message, final int errorCode,
final Throwable t) {
super(message, t);
this.errorCode = errorCode;
}
public int getErrorCode() {
return this.errorCode;
}
}
|