javax.xml.bind
Class ConversionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.xml.bind.UnmarshalException
|
+--javax.xml.bind.ConversionException
- All Implemented Interfaces:
- Serializable
- public class ConversionException
- extends UnmarshalException
Checked exception thrown by an XML scanner when an I/O error occurs. The
I/O exception that is thrown is wrapped within this exception.
- Version:
- 1.4, 01/05/28
- See Also:
- Serialized Form
ConversionException
public ConversionException(String desc)
- Constructs a new instance of this class.
- Parameters:
desc - A description of component being converted
ConversionException
public ConversionException(String desc,
Throwable x)
- Constructs a new instance of this class.
- Parameters:
desc - A description of component being convertedcause - The exception that was thrown during conversion
getCause
public Throwable getCause()
- Retrieves the
Throwable that caused this exception.
- Returns:
- The throwable
printStackTrace
public void printStackTrace(PrintStream out)
- Overrides:
printStackTrace in class Throwable
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.