xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch
Class FixedValueException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byedu.uci.isr.xarch.FixedValueException
All Implemented Interfaces:
Serializable

public class FixedValueException
extends RuntimeException

Thrown when a user makes a set, clear, or other call that attempts to change the value of a fixed-value attribute or element.

Author:
Eric M. Dashofy edashofy@ics.uci.edu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
FixedValueException(String fieldName, String fieldValue)
          Create a new FixedValueException with the name of the attribute or element given.
 
Method Summary
 String getFieldName()
           
 String getFieldValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FixedValueException

public FixedValueException(String fieldName,
                           String fieldValue)
Create a new FixedValueException with the name of the attribute or element given.

Parameters:
fieldName - The name of the element or attribute with the fixed value.
fieldValue - The fixed field value.
Method Detail

getFieldName

public String getFieldName()

getFieldValue

public String getFieldValue()

toString

public String toString()

xArch/xADL 2.0 Data Binding Library