com.esri.aims.mtier.model.axl
Class AXLAttributeException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.esri.aims.mtier.model.axl.AXLException
                    |
                    +--com.esri.aims.mtier.model.axl.AXLAttributeException
All Implemented Interfaces:
Serializable

public class AXLAttributeException
extends AXLException

Thrown when an error occurs during reading or writing an AXL attribute.

See Also:
Serialized Form

Field Summary
static int ILLEGAL_ATTRIBUTE
          Code to indicate that the exception is due to an illegal AXL attribute.
static int ILLEGAL_ATTRIBUTE_VALUE
          Code to indicate that the exception is due to an illegal value associated with an AXL attribute.
static int REQUIRED_ATTRIBUTE_NOT_SET
          Code that is thrown when a required AXL attribute has not been set.
static int UNKNOWN
          Code to indicate that the exception is due to an unknown AXL attribute.
 
Constructor Summary
AXLAttributeException(String message, int code)
          Constructs a new AXLAttributeException with given string message and exception code.
 
Method Summary
 int getCode()
          Returns the code for the given exception.
 
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
Code to indicate that the exception is due to an unknown AXL attribute.

See Also:
Constant Field Values

REQUIRED_ATTRIBUTE_NOT_SET

public static final int REQUIRED_ATTRIBUTE_NOT_SET
Code that is thrown when a required AXL attribute has not been set.

See Also:
Constant Field Values

ILLEGAL_ATTRIBUTE

public static final int ILLEGAL_ATTRIBUTE
Code to indicate that the exception is due to an illegal AXL attribute.

See Also:
Constant Field Values

ILLEGAL_ATTRIBUTE_VALUE

public static final int ILLEGAL_ATTRIBUTE_VALUE
Code to indicate that the exception is due to an illegal value associated with an AXL attribute.

See Also:
Constant Field Values
Constructor Detail

AXLAttributeException

public AXLAttributeException(String message,
                             int code)
Constructs a new AXLAttributeException with given string message and exception code.

Parameters:
message - the message that is displayed when the Exception is thrown
code - the exception code
Method Detail

getCode

public int getCode()
Returns the code for the given exception.

Returns:
the integer Code for the type of exception thrown.