All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EntityValidationException

public class DomainException extends HybrisSystemException
The generic exception class for hybris domain objects.
See Also:
  • Constructor Details

    • DomainException

      public DomainException(String message)
      Creates a new DomainException object with the given message.
      Parameters:
      message - the reason for this DomainException
    • DomainException

      public DomainException(String message, 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.