JAXB
v0.21

javax.xml.bind
Class InvalidNameException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.xml.bind.TypeConstraintException
                          |
                          +--javax.xml.bind.InvalidNameException
All Implemented Interfaces:
Serializable

public class InvalidNameException
extends TypeConstraintException

Unchecked exception thrown by a property mutation method when invoked with a string that is not a legal XML name but such a string is required.

Version:
1.12, 01/05/31
See Also:
Serialized Form

Constructor Summary
InvalidNameException(String arg)
          Constructs an instance of this class.
 
Method Summary
 String getArgument()
          Retrieves the argument.
 String getMessage()
          Returns a string describing this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidNameException

public InvalidNameException(String arg)
Constructs an instance of this class.

Parameters:
arg - The argument
Method Detail

getArgument

public String getArgument()
Retrieves the argument.

Returns:
The argument

getMessage

public String getMessage()
Returns a string describing this exception.
Overrides:
getMessage in class Throwable
Returns:
A string describing this exception

JAXB
v0.21


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.