vortex
Class dbException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--vortex.dbException
All Implemented Interfaces:
java.io.Serializable

public class dbException
extends java.lang.RuntimeException

All RDBMS errors will throw this exception. These errors will have sqlCode set to the actual RDBMS error.

Additionally network errors and internal VORTEXjava errors will also throw this exception. These errors will all have an sqlCode of (-1).

See Also:
Serialized Form

Field Summary
 int sqlCode
          Database error code
 java.lang.String sqlMsg
          Database error message
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sqlCode

public int sqlCode
Database error code


sqlMsg

public java.lang.String sqlMsg
Database error message

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable