Package com.openhtmltopdf.util
Class XRRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.openhtmltopdf.util.XRRuntimeException
- All Implemented Interfaces:
Serializable
public class XRRuntimeException extends RuntimeException
General runtime exception used in XHTMLRenderer. Auto-logs messages to
plumbing.exception hierarchy.
- Author:
- Patrick Wright
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description XRRuntimeException(String msg)Instantiates a new Exception with a "reason" message.XRRuntimeException(String msg, Throwable cause)Instantiates a new Exception with a "reason" message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XRRuntimeException
Instantiates a new Exception with a "reason" message.- Parameters:
msg- Reason the exception is being thrown.
-
XRRuntimeException
Instantiates a new Exception with a "reason" message.- Parameters:
msg- Reason the exception is being thrown.cause- Throwable that caused this exception to be thrown (e.g. IOException.
-