com.ibm.di.cli
Class IllegalCommandUsageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.di.cli.IllegalCommandUsageException
All Implemented Interfaces:
java.io.Serializable

public class IllegalCommandUsageException
extends java.lang.Exception

Used to throw an illegal command usage exception.

See Also:
Serialized Form

Constructor Summary
IllegalCommandUsageException()
          Default empty constructor.
IllegalCommandUsageException(java.lang.String errMessage)
           
IllegalCommandUsageException(java.lang.String errMessage, java.lang.String hOption)
           
 
Method Summary
 java.lang.String getErrorMessage()
           
 java.lang.String getHelpOption()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalCommandUsageException

public IllegalCommandUsageException()
Default empty constructor.


IllegalCommandUsageException

public IllegalCommandUsageException(java.lang.String errMessage)

IllegalCommandUsageException

public IllegalCommandUsageException(java.lang.String errMessage,
                                    java.lang.String hOption)
Method Detail

getErrorMessage

public java.lang.String getErrorMessage()

getHelpOption

public java.lang.String getHelpOption()