public final class OCamlFailureException extends OCamlException
OCamlFailureException
class is the Java counterpart of
the Failure
OCaml exception.SLOT
Constructor and Description |
---|
OCamlFailureException(org.ocamljava.runtime.kernel.FailException fe)
Constructs a new instance based on the passed exception.
|
OCamlFailureException(java.lang.String s)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParameter()
Returns exception parameter.
|
getFailException, getOCamlName, getOCamlStringRepresentation, register, toString, wrap
public OCamlFailureException(java.lang.String s)
s
- exception parameter - should not be null
public OCamlFailureException(org.ocamljava.runtime.kernel.FailException fe)
fe
- original OCaml exception - should not be null
public java.lang.String getParameter()