org.enhydra.shark.api.internal.repositorypersistence
Class RepositoryException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.enhydra.shark.api.RootException
              extended byorg.enhydra.shark.api.internal.repositorypersistence.RepositoryException
All Implemented Interfaces:
java.io.Serializable

public class RepositoryException
extends RootException

Class RepositoryException indicates exceptional condition occurring in repository persistence layer, ie. failing transaction.

Author:
Sasa Bojanic
See Also:
Serialized Form

Constructor Summary
RepositoryException(java.lang.String message)
          Constructs a new exception with the specified detail message.
RepositoryException(java.lang.String message, java.lang.Throwable t)
          Constructs a new exception with the specified detail message and cause.
RepositoryException(java.lang.Throwable t)
          Constructs a new exception with cause for throwable.
 
Methods inherited from class org.enhydra.shark.api.RootException
getCause, initCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryException

public RepositoryException(java.lang.String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the detail message for new RepositoryException.

RepositoryException

public RepositoryException(java.lang.Throwable t)
Constructs a new exception with cause for throwable. Message is created by super constructor (java.lang.Exception), if cause isn't null - cause.toString().

Parameters:
t - Throwable which caused this RepositoryException.

RepositoryException

public RepositoryException(java.lang.String message,
                           java.lang.Throwable t)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the detail message for new RepositoryException.
t - Throwable which caused this RepositoryException.