Class InvalidLiteral

All Implemented Interfaces:
Serializable

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".

Since:
1.0
Version:
1.0
Author:
Michael Grove
See Also:
  • Constructor Details

    • InvalidLiteral

      public InvalidLiteral(String theMsg)
      Create a new InvalidLiteral
      Parameters:
      theMsg - the error message
    • InvalidLiteral

      public InvalidLiteral(String theMsg, Throwable theCause)
      Create a new InvalidLiteral
      Parameters:
      theMsg - the error message
      theCause - the error cause