|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.meyling.principia.argument.ArgumentException
This is a construction (and checking) exception for arguments.
| Field Summary | |
private Argument |
argument
problem with this argument |
private boolean |
begin
occured problem at beginning of argument? |
private int |
code
exception code |
private String |
description
description of reason for exception |
private Argument |
secundaryArgument
problem is illustrated with this secondary argument |
| Fields inherited from class java.lang.Throwable |
backtrace, detailMessage, serialVersionUID |
| 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 code. |
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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private final int code
private final String description
private Argument argument
private final Argument secundaryArgument
private boolean begin
| Constructor Detail |
public ArgumentException(int code,
String description)
code - exception cathegorydescription - what is the problem
public ArgumentException(int code,
String description,
Argument argument)
code - exception cathegorydescription - what is the problemargument - this lead to problems
public ArgumentException(int code,
String description,
Argument argument,
Argument secundaryArgument)
code - exception cathegorydescription - what is the problemargument - this lead to problemssecundaryArgument - this argument illustrates the problem
public 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()
nullpublic final void setArgument(Argument argument)
argument - that lead to problems (or last ok argument)public final Argument getSecondaryArgument()
nullpublic final boolean isBegin()
argument lead to problems?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||