Package org.hippoecm.repository.api
Class MappingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.jcr.RepositoryException
-
- org.hippoecm.repository.api.MappingException
-
- All Implemented Interfaces:
Serializable
public class MappingException extends javax.jcr.RepositoryException
An MappingException is thrown for workflow or document mapping when when a required data or configuration is not present or a representation in data could not be made.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappingException(String message)
Constructs a new mapping exception with the specified detail message and without initialized causeMappingException(String message, Exception reason)
Constructs a new mapping exception with the specified detail message and 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
-
MappingException
public MappingException(String message)
Constructs a new mapping exception with the specified detail message and without initialized cause- Parameters:
message
- the detail message, for later retrieval though getMessage()
-
MappingException
public MappingException(String message, Exception reason)
Constructs a new mapping exception with the specified detail message and cause- Parameters:
message
- the detail message, for later retrieval though getMessage()reason
- the cause (A null value is permitted, and indicates that the cause is nonexistent or unknown)
-
-