ca.idms.qcli
Class QcliIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ca.idms.qcli.QcliException
              extended by ca.idms.qcli.QcliIOException
All Implemented Interfaces:
java.io.Serializable

public class QcliIOException
extends QcliException

Thrown when an IOException is thrown by a Qcli implementation. The underlying IOException, which can be a PacketException, can be retrieved by getException.

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

Field Summary
 
Fields inherited from class ca.idms.qcli.QcliException
sqlstate
 
Constructor Summary
QcliIOException(java.io.EOFException e)
          Constructs a new QcliIOException for a connection failure.
QcliIOException(java.io.IOException e)
          Constructs a new QcliIOException with the specified detail message.
 
Method Summary
 java.io.IOException getException()
          The original exception.
 
Methods inherited from class ca.idms.qcli.QcliException
getDetailMessage
 
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
 

Constructor Detail

QcliIOException

public QcliIOException(java.io.EOFException e)
Constructs a new QcliIOException for a connection failure. When the socket stream throws an EOFException the connection is lost, and the transaction will be rolled back (eventually).

Parameters:
e - socket exception

QcliIOException

public QcliIOException(java.io.IOException e)
Constructs a new QcliIOException with the specified detail message.

Parameters:
e - IO exception
Method Detail

getException

public java.io.IOException getException()
The original exception.



Copyright © 2009 CA, All rights reserved