Class AppExceptionItemIds

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

public class AppExceptionItemIds extends Object
Holds itemIds 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

    • AppExceptionItemIds

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

    • getItemIds

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