info.magnolia.jcr
Class RuntimeRepositoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
info.magnolia.jcr.RuntimeRepositoryException
- All Implemented Interfaces:
- Serializable
public class RuntimeRepositoryException
- extends RuntimeException
Wraps RepositoryException as a runtime exception. Useful in cases where a RepositoryException is an unrecoverable
error. Prefer using this class to wrapping as a plain RuntimeException as this is easier to catch and handle in cases
where it is necessary to unpack the cause to display an appropriate error message or rethrow it as a checked
exception.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RuntimeRepositoryException
public RuntimeRepositoryException(javax.jcr.RepositoryException e)
RuntimeRepositoryException
public RuntimeRepositoryException(String message,
javax.jcr.RepositoryException e)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.