ca.idms.dsi
Class DsiException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by ca.idms.dsi.DsiException
All Implemented Interfaces:
java.io.Serializable

public class DsiException
extends java.io.IOException

A DsiException is thrown when a DSI error occurs on a request to the server, either in the client, the Java ProxyServer, or the native IDMSJSRV implementation. These errors are distinct from protocol or socket errors and may or may not be recoverable. The connectionError field indicates if the connection can still be used.

Version:
2.00, 12/21/06
Author:
Dave Ross
See Also:
PacketError, Serialized Form

Field Summary
 boolean connectionError
          Connection state, true if the connection has failed.
 
Constructor Summary
DsiException()
          Creates a DsiException with no message.
DsiException(java.lang.String s)
          Creates a DsiException with a message.
DsiException(java.lang.String s, boolean e)
          Creates a DsiException with a message and connection state.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

connectionError

public boolean connectionError
Connection state, true if the connection has failed.

Constructor Detail

DsiException

public DsiException()
Creates a DsiException with no message.


DsiException

public DsiException(java.lang.String s)
Creates a DsiException with a message.

Parameters:
s - message.

DsiException

public DsiException(java.lang.String s,
                    boolean e)
Creates a DsiException with a message and connection state.

Parameters:
s - message.
e - true if a connection error.


Copyright © 2009 CA, All rights reserved