Package com.wolfram.jlink
Class ExprFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.wolfram.jlink.ExprFormatException
- All Implemented Interfaces:
java.io.Serializable
public class ExprFormatException
extends java.lang.Exception
ExprFormatException is the exception thrown by the "asXXX()" methods of the Expr class
(e.g., asInt(), asDouble(), asArray(), etc.) These methods attempt to return a native Java
representation of the Expr's contents, and if this cannot be done because the Expr cannot
be represented in the requested form, an ExprFormatException is thrown. For example, if you
called asArray() on an Expr that held a String.
- See Also:
Expr
, Serialized Form
-
Constructor Summary
Constructors Constructor Description ExprFormatException(java.lang.String msg)
-
Method Summary
-
Constructor Details
-
ExprFormatException
public ExprFormatException(java.lang.String msg)
-