Class FailToSetOptionStoreField

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.github.sttk.cliargs.exceptions.FailToSetOptionStoreField
All Implemented Interfaces:
Serializable

public class FailToSetOptionStoreField extends Exception
Is the exception which indicates that it is failed to set option arguments (including those from default values) to a field of an option store.
See Also:
  • Field Details Link icon

    • field Link icon

      public final String field
      The field name in the option store.
    • type Link icon

      public final Class<?> type
      The class of the field in the option store.
    • optArgs Link icon

      public final List<String> optArgs
      The option arguments that occurs this exception.
  • Constructor Details Link icon

    • FailToSetOptionStoreField Link icon

      public FailToSetOptionStoreField(String field, Class<?> type, List<String> optArgs, Exception cause)
      Constructs an instance of this class.
      Parameters:
      field - The field name of the option store object.
      type - The field type of the option store object.
      optArgs - The option arguments.
      cause - The cause exception.
  • Method Details Link icon

    • getMessage Link icon

      public String getMessage()
      Returns a string which represents the content of this exception.
      Overrides:
      getMessage in class Throwable
      Returns:
      The exception message.