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
General runtime exception used in XHTMLRenderer. Auto-logs messages to
plumbing.exception hierarchy.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXRRuntimeException
(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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
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.
-
-
Method Details
-
log
Logs the exception message.- Parameters:
msg
- Message for the log.
-
log
Logs the exception's message, plus the Throwable that caused the exception to be thrown.- Parameters:
msg
- Message for the log.cause
- Throwable that caused this exception to be thrown (e.g. IOException.
-