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:
java.io.Serializable
public class InvalidLiteral extends java.lang.RuntimeExceptionException thrown when a
Literalencountered 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:
LanguageHandler,DatatypeHandler, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidLiteral(java.lang.String theMsg)Create a newInvalidLiteralInvalidLiteral(java.lang.String theMsg, java.lang.Throwable theCause)Create a newInvalidLiteral
-
-
-
Constructor Detail
-
InvalidLiteral
public InvalidLiteral(java.lang.String theMsg)
Create a newInvalidLiteral- Parameters:
theMsg- the error message
-
InvalidLiteral
public InvalidLiteral(java.lang.String theMsg, java.lang.Throwable theCause)Create a newInvalidLiteral- Parameters:
theMsg- the error messagetheCause- the error cause
-
-