Rio Project 4.2 API Documentation



org.rioproject.resources.persistence
Class StoreException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.rioproject.resources.persistence.StoreException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CorruptedStoreException, StoreConflictException

public class StoreException
extends Exception

Base class for exceptions thrown by PersistantStore

See Also:
Serialized Form

Constructor Summary
StoreException(String str)
          Create a store exception, forwarding a string to the superclass constructor.
StoreException(String str, Throwable ex)
          Create an exception, forwarding a string to the superclass constructor.
 
Method Summary
 void printStackTrace()
          Print the stack trace of this exception, plus that of the nested exception, if any.
 void printStackTrace(PrintStream out)
          Print the stack trace of this exception, plus that of the nested exception, if any.
 void printStackTrace(PrintWriter out)
          Print the stack trace of this exception, plus that of the nested exception, if any.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StoreException

public StoreException(String str)
Create a store exception, forwarding a string to the superclass constructor.

Parameters:
str - a detailed message for the exception

StoreException

public StoreException(String str,
                      Throwable ex)
Create an exception, forwarding a string to the superclass constructor.

Parameters:
str - a detailed message for the exception
ex - root cause for the exception, may be null
Method Detail

printStackTrace

public void printStackTrace()
Print the stack trace of this exception, plus that of the nested exception, if any.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream out)
Print the stack trace of this exception, plus that of the nested exception, if any.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintWriter out)
Print the stack trace of this exception, plus that of the nested exception, if any.

Overrides:
printStackTrace in class Throwable

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.