|
|||||||||
| 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.ParameterException
public class ParameterException
This class is an exception for parameter programs. It's useful to diferenciate it from other class of exception.
| Field Summary | |
|---|---|
(package private) int |
errorCode
An error code. |
| Constructor Summary | |
|---|---|
ParameterException()
Default constructor. |
|
ParameterException(java.lang.String message)
Constructor with message. |
|
ParameterException(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 ParameterException()
public ParameterException(java.lang.String message)
message - an string that contains the message exception
public ParameterException(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 | ||||||||