JAXB
v0.21

javax.xml.marshal
Class ScanIOException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.xml.bind.UnmarshalException
                    |
                    +--javax.xml.marshal.ScanException
                          |
                          +--javax.xml.marshal.ScanIOException
All Implemented Interfaces:
Serializable

public class ScanIOException
extends ScanException

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.1, 01/03/07
See Also:
Serialized Form

Constructor Summary
ScanIOException(ScanPosition pos, IOException iox)
          Constructs a new instance of this class.
 
Method Summary
 IOException getIOException()
          Retrieves the IOException that caused this exception.
 void printStackTrace(PrintStream out)
           
 
Methods inherited from class javax.xml.marshal.ScanException
toString
 
Methods inherited from class javax.xml.bind.UnmarshalException
getPosition, initPosition
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScanIOException

public ScanIOException(ScanPosition pos,
                       IOException iox)
Constructs a new instance of this class.
Parameters:
pos - The position at which the I/O error occurred
iox - The IOException that was thrown
Method Detail

getIOException

public IOException getIOException()
Retrieves the IOException that caused this exception.
Returns:
The I/O exception

printStackTrace

public void printStackTrace(PrintStream out)
Overrides:
printStackTrace in class Throwable

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.