be.ugent.twijug.jclops
Class CLParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
be.ugent.twijug.jclops.CLParseException
- All Implemented Interfaces:
- java.io.Serializable
public class CLParseException
- extends java.lang.RuntimeException
Exception which indicates an error in the command line
as entered by the user. For
example: an option argument which is missing or of the wrong type,
an unknown option, an option which is repeated when this is not allowed, ...
- See Also:
- Serialized Form
Constructor Summary |
CLParseException(java.lang.String msg)
Constructs an instance of CLParseException with the specified detail message. |
Method Summary |
java.lang.String |
toString()
Returns an error message that can be displayed to the user. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CLParseException
public CLParseException(java.lang.String msg)
- Constructs an instance of
CLParseException
with the specified detail message.
- Parameters:
msg
- the detail message.
toString
public java.lang.String toString()
- Returns an error message that can be displayed to the user.
- Overrides:
toString
in class java.lang.Throwable