adaptj.toolkits
Class OptionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--adaptj.toolkits.OptionException
All Implemented Interfaces:
IOptionException, java.io.Serializable
Direct Known Subclasses:
NoSuchOptionException, SetOptionException

public abstract class OptionException
extends java.lang.RuntimeException
implements IOptionException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
OptionException(Customizable customizable, java.lang.String optionName)
           
OptionException(Customizable customizable, java.lang.String optionName, java.lang.String message)
           
 
Method Summary
 Customizable getCustomizable()
           
 java.lang.String getCustomizableName()
           
 java.lang.String getOptionName()
           
abstract  java.lang.String toString()
           
 
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

OptionException

public OptionException(Customizable customizable,
                       java.lang.String optionName)

OptionException

public OptionException(Customizable customizable,
                       java.lang.String optionName,
                       java.lang.String message)
Method Detail

getCustomizable

public Customizable getCustomizable()

getOptionName

public java.lang.String getOptionName()
Specified by:
getOptionName in interface IOptionException

getCustomizableName

public java.lang.String getCustomizableName()
Specified by:
getCustomizableName in interface IOptionException

toString

public abstract java.lang.String toString()
Specified by:
toString in interface IOptionException
Overrides:
toString in class java.lang.Throwable