com.iisc.jwc.jsheet
Class JSException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.iisc.jwc.jsheet.JSException
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
JSDbException

public class JSException
extends java.lang.Exception
implements java.lang.Cloneable, java.io.Serializable

A exception that occured duing the communication with JSServer. The exception may have been caused by an invalid method call, invalid method parameters, or a networking problem.

See Also:
Serialized Form

Field Summary
 short errorNum
           
 java.lang.String errorText
           
 
Constructor Summary
JSException(com.iisc.jwc.orb.CException ce)
          For internal use only!
JSException(short errorNum, java.lang.String errorText)
          Creates a JSException
 
Method Summary
 java.lang.Object clone()
          Creates a new object of the same class as this object.
 
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
 

Field Detail

errorNum

public short errorNum

errorText

public java.lang.String errorText
Constructor Detail

JSException

public JSException(com.iisc.jwc.orb.CException ce)
For internal use only!

Parameters:
ce - for internal use only!

JSException

public JSException(short errorNum,
                   java.lang.String errorText)
Creates a JSException

Parameters:
errorNum - The error number for the exception.
errorText - The error message for the exception.
Method Detail

clone

public java.lang.Object clone()
Creates a new object of the same class as this object. It then initializes each of the new object's fields by assigning it the same value as the corresponding field in this object. No constructor is called.

Returns:
A clone of this instance.

Email JSheet Support

www.jsheet.com
Copyright 1995 - 2003 Investment Intelligence Systems Limited.