javax.xml.bind
Class InvalidFixedValueException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.xml.bind.UnmarshalException
|
+--javax.xml.bind.ValidationException
|
+--javax.xml.bind.StructureValidationException
|
+--javax.xml.bind.LocalValidationException
|
+--javax.xml.bind.InvalidFixedValueException
- All Implemented Interfaces:
- Serializable
- public class InvalidFixedValueException
- extends LocalValidationException
Checked exception thrown when a compound fixed attribute is detected to
have the incorrect value.
- Version:
- 1.12, 01/05/31
- See Also:
- Serialized Form
InvalidFixedValueException
public InvalidFixedValueException(Object arg,
Object val)
- Constructs an instance of this class.
- Parameters:
arg
- The valueval
- The fixed value
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
getValue
public Object getValue()
- Retrieves the value.
- Returns:
- The value
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.