org.melati.poem
Class Setting.SettingTypeMismatchException

Package class diagram package Setting.SettingTypeMismatchException
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.poem.SeriousPoemException
                      extended by org.melati.poem.AppBugPoemException
                          extended by org.melati.poem.Setting.SettingTypeMismatchException
All Implemented Interfaces:
Serializable
Enclosing class:
Setting

public static class Setting.SettingTypeMismatchException
extends AppBugPoemException

Thrown when a Setting's type does not match the type required.

See Also:
Serialized Form

Field Summary
 String name
          Name of the setting.
 String reqType
          Required type.
 PoemTypeFactory type
          The factory used.
 
Fields inherited from class org.melati.poem.PoemException
subException
 
Constructor Summary
Setting.SettingTypeMismatchException(String name, PoemTypeFactory type, String reqType)
          Constructor.
 
Method Summary
 String getMessage()
          The detail message which may be null.
 
Methods inherited from class org.melati.poem.PoemException
getCoreMessage, initCause, innermostException, 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
 

Field Detail

name

public String name
Name of the setting.


type

public PoemTypeFactory type
The factory used.


reqType

public String reqType
Required type.

Constructor Detail

Setting.SettingTypeMismatchException

public Setting.SettingTypeMismatchException(String name,
                                            PoemTypeFactory type,
                                            String reqType)
Constructor.

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 detail message.
See Also:
Throwable.getMessage()


Copyright © 2000-2010 PanEris. All Rights Reserved.