|
|||||||||
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.WarningException
public class WarningException
This class is an exception for warning messages. It must be used only when program execution can continue.
Field Summary | |
---|---|
(package private) int |
errorCode
An error code. |
Constructor Summary | |
---|---|
WarningException()
Default constructor. |
|
WarningException(java.lang.String message)
Constructor with message. |
|
WarningException(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 WarningException()
public WarningException(java.lang.String message)
message
- an string that contains the message exceptionpublic WarningException(java.lang.String message, int errorCode)
message
- an string that contains the message exceptionerrorCode
- the error codeMethod Detail |
---|
public int getErrorCode()
errorCode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |