org.melati.poem
Class TypeMismatchPoemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.melati.poem.PoemException
org.melati.poem.SeriousPoemException
org.melati.poem.AppBugPoemException
org.melati.poem.TypeMismatchPoemException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- NotComparablePoemException, NullTypeMismatchPoemException
public class TypeMismatchPoemException
- extends AppBugPoemException
Thrown when the type of an object isn't the one expected.
- Author:
- WilliamC@paneris.org
- See Also:
- Serialized Form
value
public Object value
- The value we are trying to assign.
type
public PoemType type
- The type of the destination.
TypeMismatchPoemException
public TypeMismatchPoemException(Object value,
PoemType type)
- Constructor.
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.