public class SFIException extends Exception
Constructor and Description |
---|
SFIException()
Constructs an instance of SFIException with null as its detail message
and 0 as its error code.
|
SFIException(int errorCode)
Constructs an instance of SFIException with the specified error code.
|
SFIException(String message,
int errorCode)
Constructs an instance of SFIException with the specified detail message
and error code.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns The error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SFIException()
public SFIException(int errorCode)
errorCode
- the error code.public SFIException(String message, int errorCode)
message
- The detail message.errorCode
- The error code.