com.sun.msv.writer
Class SAXRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sun.msv.writer.SAXRuntimeException
All Implemented Interfaces:
Serializable

public class SAXRuntimeException
extends RuntimeException

This class is used to wrap SAXException by RuntimeException. we can't throw Exception from visitor, so it has to be wrapped by RuntimeException. This exception is catched outside of visitor and nested exception is re-thrown.

See Also:
Serialized Form

Field Summary
 SAXException e
           
 
Constructor Summary
SAXRuntimeException(SAXException e)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

e

public final SAXException e
Constructor Detail

SAXRuntimeException

public SAXRuntimeException(SAXException e)