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, wrappublic OCamlFailureException(java.lang.String s)
s - exception parameter - should not be nullpublic OCamlFailureException(org.ocamljava.runtime.kernel.FailException fe)
fe - original OCaml exception - should not be nullpublic java.lang.String getParameter()