|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.graphbuilder.curve.ControlStringParseException
Exception thrown if the parsing of a control-string fails. A ControlStringParseException contains a description, and may contain any of the following information:
Otherwise the index values will be -1 if they are unassigned and the ExpressionParseException will be null.
GroupIterator
,
Serialized FormConstructor Summary | |
ControlStringParseException(java.lang.String descrip)
Constructor with only a description. |
|
ControlStringParseException(java.lang.String descrip,
int index)
Constructor with a description and index value. |
|
ControlStringParseException(java.lang.String descrip,
int fromIndex,
int toIndex)
Constructor with a description and index range. |
|
ControlStringParseException(java.lang.String descrip,
int fromIndex,
int toIndex,
ExpressionParseException epe)
Constructor with a description, index range and ExpressionParseException. |
Method Summary | |
java.lang.String |
getDescription()
Returns the description of the problem. |
ExpressionParseException |
getExpressionParseException()
Returns an ExpressionParseException if an expression in the control-string could not be parsed correctly or null if this was not the problem. |
int |
getFromIndex()
Returns the index location in the control-string that marks the start of the problem or -1 if not available. |
int |
getToIndex()
Returns the index location in the control-string that marks the end of the problem or -1 if not available. |
java.lang.String |
toString()
Returns a nicely formatted string of this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ControlStringParseException(java.lang.String descrip)
public ControlStringParseException(java.lang.String descrip, int index)
public ControlStringParseException(java.lang.String descrip, int fromIndex, int toIndex)
public ControlStringParseException(java.lang.String descrip, int fromIndex, int toIndex, ExpressionParseException epe)
Method Detail |
public int getFromIndex()
public int getToIndex()
public java.lang.String getDescription()
public ExpressionParseException getExpressionParseException()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |