|
Hilbert II - JAVA-Packages - Principia Mathematica II | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.meyling.principia.argument.ArgumentException
This is a construction (and checking) exception for arguments.
Field Summary |
Fields inherited from class java.lang.Exception |
|
Constructor Summary | |
ArgumentException(int code,
String description)
Constructs an argument exception. |
|
ArgumentException(int code,
String description,
Argument argument)
Constructs an argument exception. |
|
ArgumentException(int code,
String description,
Argument argument,
Argument secundaryArgument)
Constructs an argument exception. |
|
ArgumentException(int code,
String description,
Argument argument,
boolean begin)
Constructs an argument exception. |
Method Summary | |
Argument |
getArgument()
Get problematic argument. |
int |
getCode()
Get exception code. |
String |
getDescription()
Get exception description. |
Argument |
getSecondaryArgument()
Get secundary argument. |
boolean |
isBegin()
Problem at begin of argument? |
void |
setArgument(Argument argument)
Set the problematic argument. |
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 |
Constructor Detail |
public ArgumentException(int code, String description)
code
- exception cathegorydescription
- what is the problempublic ArgumentException(int code, String description, Argument argument)
code
- exception cathegorydescription
- what is the problemargument
- this lead to problemspublic ArgumentException(int code, String description, Argument argument, Argument secundaryArgument)
code
- exception cathegorydescription
- what is the problemargument
- this lead to problemssecundaryArgument
- this argument illustrates the problempublic ArgumentException(int code, String description, Argument argument, boolean begin)
code
- exception cathegorydescription
- what is the problemargument
- this lead to problems (or after it)begin
- was the problem at the begining
of argument
?Method Detail |
public final int getCode()
public final String getDescription()
public final Argument getArgument()
null
public final void setArgument(Argument argument)
argument
- that lead to problems (or last ok argument)public final Argument getSecondaryArgument()
null
public final boolean isBegin()
argument
lead to problems?
|
Hilbert II - JAVA-Packages - Principia Mathematica II | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |