be.ugent.twijug.jclops
Class CLParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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
 

Constructor Detail

CLParseException

public CLParseException(java.lang.String msg)
Constructs an instance of CLParseException with the specified detail message.

Parameters:
msg - the detail message.
Method Detail

toString

public java.lang.String toString()
Returns an error message that can be displayed to the user.

Overrides:
toString in class java.lang.Throwable