SSH Factory

com.jscape.sscl
Class SSCLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jscape.sscl.SSCLException
All Implemented Interfaces:
java.io.Serializable

public class SSCLException
extends java.lang.Exception

Thrown by SSCL class when an error occurs during processing of SSCL script.

See Also:
Serialized Form

Constructor Summary
SSCLException(java.lang.String msg)
          Constructs a new SSCLException instance.
SSCLException(java.lang.String msg, java.lang.Exception source)
          Constructs a new SSCLException instance.
 
Method Summary
 java.lang.Exception getSource()
          Gets source exception which caused the error.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSCLException

public SSCLException(java.lang.String msg)
Constructs a new SSCLException instance.

Parameters:
msg - the error message

SSCLException

public SSCLException(java.lang.String msg,
                     java.lang.Exception source)
Constructs a new SSCLException instance.

Parameters:
msg - the error message
source - the source exception which caused the error
Method Detail

getSource

public java.lang.Exception getSource()
Gets source exception which caused the error.

Returns:
exception or null if unknown

SSH Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved