com.wolfram.jlink
Class ExprFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
ExprFormatException(java.lang.String msg)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExprFormatException

public ExprFormatException(java.lang.String msg)


J/Link is Copyright (c) 1999-2008, Wolfram Research, Inc. All rights reserved.