com.iisc.jwc.jsheet.db
Class JSDbException

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

public class JSDbException
extends JSException
implements java.lang.Cloneable

A exception that occured duing the communication with a database server. The exception may have been caused by SQL syntax error or a networking problem.

See Also:
Serialized Form

Field Summary
 short sqlErrorNum
          The SQL error number.
 java.lang.String sqlErrorText
          The text message for the SQL error.
 
Fields inherited from class com.iisc.jwc.jsheet.JSException
errorNum, errorText
 
Constructor Summary
JSDbException(com.iisc.jwc.orb.DBException dbe)
          For internal use only!
 
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

sqlErrorNum

public short sqlErrorNum
The SQL error number.


sqlErrorText

public java.lang.String sqlErrorText
The text message for the SQL error.

Constructor Detail

JSDbException

public JSDbException(com.iisc.jwc.orb.DBException dbe)
For internal use only!

Parameters:
dbe - for internal use only!
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.

Overrides:
clone in class JSException
Returns:
A clone of this instance.

Email JSheet Support

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