public class JIException extends Exception
| Constructor and Description |
|---|
JIException(int errorCode) |
JIException(int errorCode,
String message) |
JIException(int errorCode,
String message,
Throwable cause) |
JIException(int errorCode,
Throwable cause) |
JIException(JIRuntimeException exception) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Returns the error code associated with this exception.
|
String |
getMessage()
Returns the localized error messages.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic JIException(int errorCode,
String message)
public JIException(int errorCode)
public JIException(int errorCode,
Throwable cause)
public JIException(JIRuntimeException exception)
public String getMessage()
getMessage in class Throwablepublic int getErrorCode()
JIErrorCodes for a complete list of errors.Copyright © 2017 LSST. All rights reserved.