Class DomainException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.savedorderforms.exception.HybrisSystemException
de.hybris.platform.savedorderforms.exception.DomainException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EntityValidationException
The generic exception class for hybris domain objects.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDomainException(String message) Creates a new DomainException object with the given message.DomainException(String message, Throwable cause) Creates a new DomainException object using the given message and cause exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DomainException
Creates a new DomainException object with the given message.- Parameters:
message- the reason for this DomainException
-
DomainException
Creates a new DomainException object using the given message and cause exception.- Parameters:
message- The reason for this DomainException.cause- the Throwable that caused this DomainException.
-