Package pro.johndunlap.getopt.exception
Class DuplicateOptionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- pro.johndunlap.getopt.exception.ParseException
-
- pro.johndunlap.getopt.exception.DuplicateOptionException
-
- All Implemented Interfaces:
Serializable
public class DuplicateOptionException extends ParseException
Thrown when a duplicate option is found.- Author:
- John Dunlap
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class pro.johndunlap.getopt.exception.ParseException
DEFAULT_ERROR_EXIT_STATUS
-
-
Constructor Summary
Constructors Constructor Description DuplicateOptionException(String message, Field field)DuplicateOptionException(String message, Throwable cause, Field field)DuplicateOptionException(Throwable cause, Field field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldgetField()-
Methods inherited from class pro.johndunlap.getopt.exception.ParseException
getExitStatus, getValue
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getField
public Field getField()
- Overrides:
getFieldin classParseException
-
-