Package org.apache.jackrabbit.vault.util
Class UncheckedRepositoryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.jackrabbit.vault.util.UncheckedRepositoryException
-
- All Implemented Interfaces:
Serializable
public class UncheckedRepositoryException extends RuntimeException
Wraps aRepositoryException
with an unchecked exception. Useful inFunctionalInterface
methods/lambda expressions which must not throw checked exceptions.- Since:
- 3.7.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UncheckedRepositoryException(RepositoryException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryException
getCause()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UncheckedRepositoryException
public UncheckedRepositoryException(RepositoryException e)
-
-
Method Detail
-
getCause
public RepositoryException getCause()
-
-