com.orindasoft.pub
Class CSDBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.orindasoft.pub.CSException
              extended by com.orindasoft.pub.CSDBException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CSDBNullObjectException

public class CSDBException
extends CSException

Thrown when a SQLException is generated.
(c) Copyright 2003 - 2012 Orinda Software Ltd

Version:
6.0
Author:
Orinda Software
See Also:
Serialized Form

Field Summary
 int theSqlCode
          The oracle Error code
 
Constructor Summary
CSDBException()
          Default constructor
CSDBException(int theSqlCode, java.lang.String theSqlErrorMessage, java.lang.String theSqlStatement, java.lang.String theApplicationComment)
          Contructor with parameters
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

theSqlCode

public int theSqlCode
The oracle Error code

Constructor Detail

CSDBException

public CSDBException()
Default constructor


CSDBException

public CSDBException(int theSqlCode,
                     java.lang.String theSqlErrorMessage,
                     java.lang.String theSqlStatement,
                     java.lang.String theApplicationComment)
Contructor with parameters

Parameters:
int - theSqlCode the oracle error code
String - theSqlErrorMessage The message text associated with this exception
String - theSqlStatement The Sql statement that caused this exception
String - theApplicationComment An optional comment


Copyright © Orinda Software Ltd 2012Logo