org.enhydra.shark.api.internal.repositorypersistence
Class RepositoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.enhydra.shark.api.RootException
org.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 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 |
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.