Coalevo Logo

net.coalevo.foundation.util.metatype
Class AttributeTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.coalevo.foundation.util.metatype.MetaTypeDictionaryException
              extended by net.coalevo.foundation.util.metatype.AttributeTypeException
All Implemented Interfaces:
java.io.Serializable

public class AttributeTypeException
extends MetaTypeDictionaryException

Exception thrown by a MetaTypeDictionary if the requested attribute is not of requested type.

Version:
1.0.0 (10/02/2009)
Author:
Dieter Wimberger (wimpi)
See Also:
Serialized Form

Constructor Summary
AttributeTypeException()
           
AttributeTypeException(java.lang.String message)
           
AttributeTypeException(java.lang.String key, int type, int reqtype)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getKey()
           
 int getRequestedType()
           
 int getType()
           
 java.lang.String getTypeName(int type)
           
 int hashCode()
           
 void setKey(java.lang.String key)
           
 void setRequestedType(int requestedType)
           
 void setType(int type)
           
 
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, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeTypeException

public AttributeTypeException()

AttributeTypeException

public AttributeTypeException(java.lang.String message)

AttributeTypeException

public AttributeTypeException(java.lang.String key,
                              int type,
                              int reqtype)
Method Detail

getType

public int getType()

setType

public void setType(int type)

getRequestedType

public int getRequestedType()

setRequestedType

public void setRequestedType(int requestedType)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeName

public java.lang.String getTypeName(int type)

Coalevo Logo

(c) 2004-2009 VFI (http://www.vfi.or.at)