Servertec
Persistent Object Store
1.4.1 09/04/2005

stec.pos
Class POSException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by stec.pos.POSException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FileNotOpenException, TimeoutException, TooManyOpenFilesException

public class POSException
extends java.io.IOException
implements java.io.Serializable

Defines a general exception wrapper that Servertec Persistent Object Stores and Indexes can throw to preserve the original exception or error.

Since:
1.1.0 09/01/2002
See Also:
IOException, Serialized Form

Constructor Summary
POSException()
          Constructs a new POS exception.
POSException(java.lang.String message)
          Constructs a new POS exception associated with the specified message.
POSException(java.lang.Throwable throwable)
          Constructs a new POS exception wrapping the specified exception or error.
POSException(java.lang.Throwable throwable, java.lang.String message)
          Constructs a new POS exception wrapping the specified throwable or error and associated message.
 
Method Summary
 java.lang.Throwable getRootCause()
          Returns the wrapped exception or error.
 
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
 

Constructor Detail

POSException

public POSException()
Constructs a new POS exception.


POSException

public POSException(java.lang.Throwable throwable)
Constructs a new POS exception wrapping the specified exception or error.

Parameters:
throwable - the exception or error.

POSException

public POSException(java.lang.String message)
Constructs a new POS exception associated with the specified message.

Parameters:
message - the text message to associate with this exception.

POSException

public POSException(java.lang.Throwable throwable,
                    java.lang.String message)
Constructs a new POS exception wrapping the specified throwable or error and associated message.

Parameters:
throwable - the exception or error.
message - the text message to associate with the exception.
Method Detail

getRootCause

public java.lang.Throwable getRootCause()
Returns the wrapped exception or error.

Returns:
the wrapped exception or error.

Servertec
Persistent Object Store
1.4.1 09/04/2005

Copyright © 2001-2005 Servertec. All rights reserved.