Class JavasciException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.scilab.modules.javasci.JavasciException
All Implemented Interfaces:
Direct Known Subclasses:
JavasciException.AlreadyRunningException, JavasciException.InitializationException, JavasciException.ScilabErrorException, JavasciException.ScilabInternalException, JavasciException.UndefinedVariableException, JavasciException.UnknownTypeException, JavasciException.UnsupportedTypeException

public abstract class JavasciException
extends java.lang.Exception

This class provides a general exception class for Javasci v2 API.

See Also:
Serialized Form

Nested Class Summary
static class JavasciException.AlreadyRunningException
          This class provides a exception class when Scilab is already running
static class JavasciException.InitializationException
          This class provides a exception class when an error occurs on the initialization
static class JavasciException.ScilabErrorException
          This class provides a exception class when a Scilab error occurs
static class JavasciException.ScilabInternalException
          This class provides a exception class when an internal error occurs
static class JavasciException.UndefinedVariableException
          This class provides a exception class when an non-existing variable is accessed.
static class JavasciException.UnknownTypeException
          This class provides a exception class when a type is unknown This should be very very rare.
static class JavasciException.UnsupportedTypeException
          This class provides a exception class when an unsupported type is used
Constructor Summary
          Default constructor
JavasciException(java.lang.String message)
          Default constructor
JavasciException(java.lang.String message, java.lang.Throwable cause)
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


public JavasciException()
Default constructor


public JavasciException(java.lang.String message)
Default constructor


public JavasciException(java.lang.String message,
                        java.lang.Throwable cause)
message - the message to be printed
cause - the cause