Package org.apache.jackrabbit.oak.api
Class IllegalRepositoryStateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.jackrabbit.oak.api.IllegalRepositoryStateException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RepositoryNotReachableException
,SegmentNotFoundException
public class IllegalRepositoryStateException extends RuntimeException
This exception can be thrown by implementers of this API to signal an error condition caused by an invalid state of the repository.It's up to the implementation to distinguish between recoverable and unrecoverable error conditions. In case of recoverable error conditions, it's appropriate for an implementation to create a subclass of this exception and expose that subclass as part of its public API. This way, clients of the Content Repository API can catch specific failures, provided that they also want to introduce a dependency to the implementation's API.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalRepositoryStateException()
IllegalRepositoryStateException(String message)
IllegalRepositoryStateException(String message, Throwable cause)
IllegalRepositoryStateException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalRepositoryStateException
public IllegalRepositoryStateException()
-
IllegalRepositoryStateException
public IllegalRepositoryStateException(String message)
-
IllegalRepositoryStateException
public IllegalRepositoryStateException(String message, Throwable cause)
-
IllegalRepositoryStateException
public IllegalRepositoryStateException(Throwable cause)
-
-