Package com.stardog.stark.io
Class InvalidLiteral
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.stardog.stark.io.InvalidLiteral
- All Implemented Interfaces:
Serializable
Exception thrown when a Literal encountered during parsing is syntactically correct, but otherwise
invalid. Examples of invalid literals include an unknown language, unknown datatype, a user-defined datatype
that is not registered, or a valid datatype, such as `xsd:long` whose value is not correct for it's type, eg "twelve".
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidLiteral(String theMsg) Create a newInvalidLiteralInvalidLiteral(String theMsg, Throwable theCause) Create a newInvalidLiteral -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidLiteral
Create a newInvalidLiteral- Parameters:
theMsg- the error message
-
InvalidLiteral
Create a newInvalidLiteral- Parameters:
theMsg- the error messagetheCause- the error cause
-