ca.idms.qcli
Class QcliException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ca.idms.qcli.QcliException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
QcliIOException, QcliOverflowException, QcliSQLException, QcliStateException

public class QcliException
extends java.lang.Exception

Thrown to indicate an error in SQL Client Interface. This is a base class for all Qcli exceptions.

Version:
1.00, 12/03/98
Author:
Dave Ross
See Also:
Serialized Form

Field Summary
 java.lang.String sqlstate
          SQLSTATE value.
 
Constructor Summary
QcliException()
          Constructs a new QcliException with no detail message.
QcliException(java.lang.String s)
          Constructs a new QcliException with the specified detail message.
QcliException(java.lang.String m, java.lang.String s)
          Constructs a new QcliException with the specified detail message and SQLState.
 
Method Summary
 java.lang.String getDetailMessage()
          Returns the detail message.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sqlstate

public java.lang.String sqlstate
SQLSTATE value.

Constructor Detail

QcliException

public QcliException()
Constructs a new QcliException with no detail message.


QcliException

public QcliException(java.lang.String s)
Constructs a new QcliException with the specified detail message.

Parameters:
s - the detail message.

QcliException

public QcliException(java.lang.String m,
                     java.lang.String s)
Constructs a new QcliException with the specified detail message and SQLState.

Parameters:
m - the detail message.
s - the SQLState.
Method Detail

getDetailMessage

public java.lang.String getDetailMessage()
Returns the detail message.

Returns:
the value returned by the super class getMessage() method.


Copyright © 2009 CA, All rights reserved