Package com.sun.msv.writer
Class SAXRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- 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
Fields Modifier and Type Field Description SAXException
e
-
Constructor Summary
Constructors Constructor Description SAXRuntimeException(SAXException e)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
e
public final SAXException e
-
-
Constructor Detail
-
SAXRuntimeException
public SAXRuntimeException(SAXException e)
-
-