Class AppExceptionFields

java.lang.Object
jp.ecuacion.lib.core.exception.checked.AppExceptionFields

public class AppExceptionFields extends Object
Holds fields related to exceptions.

Since a set of message parameters is also a message-related String array, this needs to be objectized to be easily distinguished from message arguments.

  • Constructor Details

    • AppExceptionFields

      public AppExceptionFields(@Nonnull String... fields)
      Constructs a new instance with fields.
      Parameters:
      fields - the fields related to an exception. An array of length zero is acceptable.
  • Method Details

    • getFields

      @Nonnull public String[] getFields()
      Gets fields.
      Returns:
      the fields which holds in this instance