public class InvalidLiteral extends RuntimeException
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".
LanguageHandler
,
DatatypeHandler
,
Serialized FormConstructor and Description |
---|
InvalidLiteral(String theMsg)
Create a new
InvalidLiteral |
InvalidLiteral(String theMsg,
Throwable theCause)
Create a new
InvalidLiteral |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidLiteral(String theMsg)
InvalidLiteral
theMsg
- the error messagepublic InvalidLiteral(String theMsg, Throwable theCause)
InvalidLiteral
theMsg
- the error messagetheCause
- the error causeCopyright © 2010-2016 Stardog Union. All Rights Reserved.