Package org.jpmml.model
Class PMMLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jpmml.model.PMMLException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MarkupException
public abstract class PMMLException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PMMLException(String message)PMMLException(String message, PMMLObject context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PMMLExceptionensureContext(PMMLObject context)PMMLObjectgetContext()booleanhasContext()PMMLExceptioninitCause(Throwable cause)StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
PMMLException
public PMMLException(String message)
-
PMMLException
public PMMLException(String message, PMMLObject context)
-
-
Method Detail
-
initCause
public PMMLException initCause(Throwable cause)
-
hasContext
public boolean hasContext()
-
ensureContext
public PMMLException ensureContext(PMMLObject context)
-
getContext
public PMMLObject getContext()
-
-