|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
gate.util.GateException
gate.creole.ontology.InvalidValueException
public class InvalidValueException
This exception should be thrown when a property value is not compatible with the property. e.g. boolean value for the integer datatype, invalid instance for an object property.
| Constructor Summary | |
|---|---|
InvalidValueException()
Constructor |
|
InvalidValueException(Exception e)
Constructor - behaves like a wrapper to the provided exception |
|
InvalidValueException(String s)
Constructor |
|
| Method Summary | |
|---|---|
void |
printStackTrace()
Overriden so we can print the enclosed exception's stacktrace too. |
void |
printStackTrace(PrintStream s)
Overriden so we can print the enclosed exception's stacktrace too. |
void |
printStackTrace(PrintWriter s)
Overriden so we can print the enclosed exception's stacktrace too. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public InvalidValueException()
public InvalidValueException(String s)
s - Message that should be printed along with the Exception
tracepublic InvalidValueException(Exception e)
e - | Method Detail |
|---|
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||