javax.xml.bind
Class FixedValueException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--javax.xml.bind.TypeConstraintException
|
+--javax.xml.bind.FixedValueException
- All Implemented Interfaces:
- Serializable
- public class FixedValueException
- extends TypeConstraintException
Unchecked exception thrown by a property mutation method derived from a
fixed attribute when invoked with a value different from the default value.
- Version:
- 1.12, 01/05/31
- See Also:
- Serialized Form
FixedValueException
public FixedValueException(Object arg,
Object val)
- Constructs an instance of this class.
- Parameters:
arg - The argumentval - The fixed value
getArgument
public Object getArgument()
- Retrieves the argument.
- Returns:
- The argument
getFixedValue
public Object getFixedValue()
- Retrieves the fixed value.
- Returns:
- The fixed value
getMessage
public String getMessage()
- Returns a string describing this exception.
- Overrides:
getMessage in class Throwable
- Returns:
- A string describing this exception
Comments to: jaxb-comments@java.sun.com
More information at: http://java.sun.com/xml/jaxb Copyright © 2001 by Sun Microsystems, Inc., 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.