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:
java.io.Serializable
- Direct Known Subclasses:
EntityValidationException
public class DomainException extends HybrisSystemException
The generic exception class for hybris domain objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DomainException(java.lang.String message)Creates a new DomainException object with the given message.DomainException(java.lang.String message, java.lang.Throwable cause)Creates a new DomainException object using the given message and cause exception.
-
-
-
Constructor Detail
-
DomainException
public DomainException(java.lang.String message)
Creates a new DomainException object with the given message.- Parameters:
message- the reason for this DomainException
-
DomainException
public DomainException(java.lang.String message, java.lang.Throwable cause)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.
-
-