org.melati.app
Class InvalidArgumentsException

Package class diagram package InvalidArgumentsException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.melati.poem.PoemException
                  extended by org.melati.util.MelatiRuntimeException
                      extended by org.melati.app.InvalidArgumentsException
All Implemented Interfaces:
Serializable

public class InvalidArgumentsException
extends MelatiRuntimeException

Thrown when an application was called with unexpected arguments.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.melati.poem.PoemException
subException
 
Constructor Summary
InvalidArgumentsException(String[] args)
          Constructor.
InvalidArgumentsException(String[] args, Exception problem)
          Constructor.
 
Method Summary
 String getMessage()
          The detail message which may be null.
 
Methods inherited from class org.melati.util.MelatiRuntimeException
innermostException
 
Methods inherited from class org.melati.poem.PoemException
getCoreMessage, initCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidArgumentsException

public InvalidArgumentsException(String[] args,
                                 Exception problem)
Constructor.

Parameters:
args - the argument array
problem - the exception to be reported

InvalidArgumentsException

public InvalidArgumentsException(String[] args)
Constructor.

Parameters:
args - the arguments passed in
Method Detail

getMessage

public String getMessage()
Description copied from class: PoemException
The detail message which may be null.

Overrides:
getMessage in class PoemException
Returns:
the message.
See Also:
Throwable.getMessage()


Copyright © 2000-2010 PanEris. All Rights Reserved.