Class AppException

java.lang.Object
java.lang.Throwable
java.lang.Exception
jp.ecuacion.lib.core.exception.checked.AppException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MultipleAppException, SingleAppException

public abstract class AppException extends Exception
Is an abstract exception class describing an occurrence of a validation error in ecuacion apps.

Let us call a validation of data executed by an app an "app-validation". AppException is created and thrown when the result of an app-validation is not okay.

App-validations are classified into two kinds as follows.

  1. input validation: the validation for each single input data, like "not empty", "minimum value", ...
  2. business logic validation: the validation from business requirements, like "selective not empty", "the input value must be one of values in some column of some table in the database ", ...

ValidationAppException covers the former, and BizLogicAppException the latter.
Both of them are the child of SingleAppException.

See Also:
  • Constructor Details

    • AppException

      public AppException()
      Constructs a new instance.
    • AppException

      public AppException(String message)
      Constructs a new instance with message.
      Parameters:
      message - message