Class CreateException

All Implemented Interfaces:
Serializable, HasFriendlyErrorMessage

public class CreateException extends AnchorFriendlyCheckedException
A generic exception that be thrown when the creation of a new object fails.
Author:
Owen Feehan
See Also:
  • Constructor Details

    • CreateException

      public CreateException(String message)
      Creates with a message, but without a cause.
      Parameters:
      message - the message.
    • CreateException

      public CreateException(Throwable cause)
      Creates with a cause, but without a message.
      Parameters:
      cause - the cause.
    • CreateException

      public CreateException(String message, HasFriendlyErrorMessage cause)
      Creates with a message, and a cause with a user-friendly error message.
      Parameters:
      message - the message
      cause - the cause with a user-friendly error message.
    • CreateException

      public CreateException(String message, AnchorCombinableException cause)
      Creates with a message, and a combinable-exception as a cause.
      Parameters:
      message - the message
      cause - a combinable-exception as a cause.