Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.4
-
None
-
None
Description
Please Consider marking the constructors from Exceptions that follow the format:
{{public FooException(final String message) { super(message) }}}
as private or removing them altogether from the Following classes:
AlreadySelectedException
MissingArgumentException
MissingOptionException
UnrecognisedOptionException
As they are only used within respective class and do not initialize the member fields. If a library uses the above constructors, then projects that depend on the library will get null values for members if the exceptions are caught, which should be avoided