|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
GiciException.ErrorException
public class ErrorException
This class is an exception for critical error messages. It must be used only when program execution cannot continue.
| Field Summary | |
|---|---|
(package private) int |
errorCode
An error code. |
| Constructor Summary | |
|---|---|
ErrorException()
Default constructor. |
|
ErrorException(java.lang.String message)
Constructor with message. |
|
ErrorException(java.lang.String message,
int errorCode)
Constructor with error code and message. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Returns the error code of this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
int errorCode
Values are usually defined by the application which uses this class. If this parameter is not set, the value is -1.
| Constructor Detail |
|---|
public ErrorException()
public ErrorException(java.lang.String message)
message - an string that contains the message exception
public ErrorException(java.lang.String message,
int errorCode)
message - an string that contains the message exceptionerrorCode - the error code| Method Detail |
|---|
public int getErrorCode()
errorCode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||