com.unitesk.atp.dynattrs
Class AttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.unitesk.atp.dynattrs.AttributeException
- All Implemented Interfaces:
- Serializable
public class AttributeException
- extends RuntimeException
This exception reports about various problems with attribute:
wrong name, type, acces violation etc.
Exception provides information about object and attribute.
A cause of exception contains additional information.
- Version:
- $Id: AttributeException.java,v 1.1 2004/10/09 06:19:04 all-x Exp $
- Author:
- Alexey Demakov
- See Also:
- Serialized Form
obj
protected Object obj
name
protected String name
value
protected Object value
AttributeException
public AttributeException(Object obj,
String name)
- Parameters:
obj
- Attributed object.name
- Attribute name.
AttributeException
public AttributeException(Object obj,
String name,
Object value)
- Parameters:
obj
- Attributed object.name
- Attribute name.value
- Attribute value.
AttributeException
public AttributeException(Object obj,
String name,
Object value,
Throwable cause)
- Parameters:
obj
- Attributed object.name
- Attribute name.value
- Attribute value.cause
- Cause of this exception.
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getObject
public Object getObject()
- Returns:
- Attributed object.
getName
public String getName()
- Returns:
- Attribute name.
getValue
public Object getValue()
- Returns:
- Attribute value.
Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.