Class BizLogicAppException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EmbeddedParameterUtil.ParameterNotFoundException, EmbeddedParameterUtil.StringFormatIncorrectException

public class BizLogicAppException extends SingleAppException
Is used for buziness logic exceptions.

Messages are designated by messageId, which is defined in messages[_xxx].properties.

See Also:
  • Constructor Details

    • BizLogicAppException

      public BizLogicAppException(@RequireNonnull String messageId, @RequireNonnull String... messageArgs)
      Constructs a new instance with messageId and messageArgs.
      Parameters:
      messageId - message ID
      messageArgs - message Arguments
    • BizLogicAppException

      public BizLogicAppException(@Nullable String[] itemPropertyPaths, @RequireNonnull String messageId, @RequireNonnull String... messageArgs)
      Constructs a new instance with itemPropertyPaths, messageId and messageArgs.
      Parameters:
      itemPropertyPaths - the itemPropertyPaths related to the exception
      messageId - message ID
      messageArgs - message Arguments
    • BizLogicAppException

      public BizLogicAppException(@RequireNonnull String messageId, @RequireNonnull PropertyFileUtil.Arg[] messageArgs)
      Constructs a new instance with messageId and messageArgs.
      Parameters:
      messageId - message ID
      messageArgs - message Arguments
    • BizLogicAppException

      public BizLogicAppException(@Nullable String[] itemPropertyPaths, @RequireNonnull String messageId, @Nullable PropertyFileUtil.Arg[] messageArgs)
      Constructs a new instance with itemPropertyPaths, messageId and messageArgs.
      Parameters:
      itemPropertyPaths - the itemPropertyPaths related to the exception
      messageId - message ID
      messageArgs - message Arguments
  • Method Details