Servertec
Persistent Object Store
1.4.1 09/04/2005

stec.pos
Class POSRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by stec.pos.POSRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class POSRuntimeException
extends java.lang.RuntimeException
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:
RuntimeException, Serialized Form

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

POSRuntimeException

public POSRuntimeException()
Constructs a new POS runtime throwable.


POSRuntimeException

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

Parameters:
throwable - the exception or error.

POSRuntimeException

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

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

POSRuntimeException

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

Parameters:
throwable - the exception or error.
message - the text message to associate with the exception or error.
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.