org.glassfish.ha.store.api
Class BackingStoreException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.glassfish.ha.store.api.BackingStoreException
All Implemented Interfaces:
Serializable

public class BackingStoreException
extends Exception

This exception is thrown to signal any BackingStore specific exception. BackingStore.getCause() can be used to get the actual store specific exception.

Author:
Mahesh.Kannan@Sun.Com, Larry.White@Sun.Com
See Also:
Serialized Form

Constructor Summary
BackingStoreException()
          Creates a BackingStoreException with null as its detail message.
BackingStoreException(String message)
          constructs a BackingStoreException with the specified detail message
BackingStoreException(String message, Throwable th)
          Constructs a new BackingStoreException exception with the specified cause and a detail message of (cause==null ? null : cause.toString())
 
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
 

Constructor Detail

BackingStoreException

public BackingStoreException()
Creates a BackingStoreException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(java.lang.Throwable).


BackingStoreException

public BackingStoreException(String message)
constructs a BackingStoreException with the specified detail message

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.

BackingStoreException

public BackingStoreException(String message,
                             Throwable th)
Constructs a new BackingStoreException exception with the specified cause and a detail message of (cause==null ? null : cause.toString())

Parameters:
message - the detail message. The detail message is saved for
th - the cause


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.