com.sybase.persistence
Class NoSuchAttributeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sybase.afx.ApplicationException
                  extended by com.sybase.persistence.NoSuchAttributeException

public class NoSuchAttributeException
extends ApplicationException

Thrown if code tries to access an attribute that does not exist in class or entity metadata. This exception may be thrown by a dynamic query method (executeQuery, etc.) if the Query passed in selects for an attribute that does not exist in the MBO queried


Constructor Summary
NoSuchAttributeException()
          Initializes a new instance of the NoSuchAttributeException class.
NoSuchAttributeException(java.lang.String name)
          Initializes a new instance of the NoSuchAttributeException class with specified attribute name.
 
Method Summary
protected  void _init()
           
 java.lang.String getName()
          Gets the attribute name that does not exist in class or entity metadata.
 void setName(java.lang.String _name)
          Sets the attribute name that does not exist in class or entity metadata.
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchAttributeException

public NoSuchAttributeException(java.lang.String name)
Initializes a new instance of the NoSuchAttributeException class with specified attribute name.

Parameters:
name - The attribute name which does not exist in class or entity metadata.

NoSuchAttributeException

public NoSuchAttributeException()
Initializes a new instance of the NoSuchAttributeException class.

Method Detail

getName

public java.lang.String getName()
Gets the attribute name that does not exist in class or entity metadata.


setName

public void setName(java.lang.String _name)
Sets the attribute name that does not exist in class or entity metadata.


_init

protected void _init()