Package opendap.dts
Class InvalidSwitch
- java.lang.Object
-
- java.lang.Throwable
-
- opendap.dts.InvalidSwitch
-
- All Implemented Interfaces:
Serializable
public class InvalidSwitch extends Throwable
Exception throwable by the Getopts class- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidSwitch()Used when no notification string other than the standard one will be thrown with the exception.InvalidSwitch(String s)Used when passing the string that will be thrown.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidSwitch
public InvalidSwitch()
Used when no notification string other than the standard one will be thrown with the exception.
-
InvalidSwitch
public InvalidSwitch(String s)
Used when passing the string that will be thrown.- Parameters:
s- the error string that is notified
-
-