Package org.jibx.runtime
Class JiBXConstrainedParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jibx.runtime.JiBXException
org.jibx.runtime.JiBXParseException
org.jibx.runtime.JiBXConstrainedParseException
- All Implemented Interfaces:
Serializable
Thrown when a "constrained" parsing exception is encountered (e.g. an
enumerated value).
- Author:
- Joshua Davies
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Solely used by unit tests.Append useful parsing details onto the default message.Methods inherited from class org.jibx.runtime.JiBXParseException
setNamespace, setTagName
Methods inherited from class org.jibx.runtime.JiBXException
getCause, getRootCause, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
m_allowableValues
-
-
Constructor Details
-
JiBXConstrainedParseException
-
JiBXConstrainedParseException
-
-
Method Details
-
getMessage
Description copied from class:JiBXParseException
Append useful parsing details onto the default message.- Overrides:
getMessage
in classJiBXParseException
- Returns:
- the default message with "constraint" text appended.
-
equals
Solely used by unit tests.- Overrides:
equals
in classJiBXParseException
- Parameters:
obj
- what to compare against- Returns:
- true or false
-