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
public class JiBXConstrainedParseException extends JiBXParseException
Thrown when a "constrained" parsing exception is encountered (e.g. an enumerated value).- Author:
- Joshua Davies
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Solely used by unit tests.StringgetMessage()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
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
Description copied from class:JiBXParseExceptionAppend useful parsing details onto the default message.- Overrides:
getMessagein classJiBXParseException- Returns:
- the default message with "constraint" text appended.
-
equals
public boolean equals(Object obj)
Solely used by unit tests.- Overrides:
equalsin classJiBXParseException- Parameters:
obj- what to compare against- Returns:
- true or false
-
-