|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
antsnest.datastructure.CannotAddNodeException
public class CannotAddNodeException
An exception that indicates an attempt was made to add a node somewhere it shouldn't go
| Field Summary | |
|---|---|
static int |
ANT_NODE_TEXT_ADD_MISUSE
Constant representing an AntNodeText tried to be added |
static int |
ANT_PROJECT_ADD_MISUSE
Constant representing an AntProject tried to be added |
static int |
ANT_TARGET_ADD_MISUSE
Constant representing an AntTarget tried to be added somewhere else than an AntProject |
| Constructor Summary | |
|---|---|
CannotAddNodeException(int problem)
Constructs the exception |
|
| Method Summary | |
|---|---|
int |
getProblem()
Gets what the problem was |
| 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 |
|---|
public static final int ANT_PROJECT_ADD_MISUSE
public static final int ANT_TARGET_ADD_MISUSE
public static final int ANT_NODE_TEXT_ADD_MISUSE
| Constructor Detail |
|---|
public CannotAddNodeException(int problem)
problem - the code to what the problem was| Method Detail |
|---|
public int getProblem()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||