com.ibm.di.migam
Class IllegalCommandUsageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.di.migam.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 getHelpOption()
           
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getHelpOption

public java.lang.String getHelpOption()