Class XRRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class XRRuntimeException
    extends java.lang.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​(java.lang.String msg)
      Instantiates a new Exception with a "reason" message.
      XRRuntimeException​(java.lang.String msg, java.lang.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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • XRRuntimeException

        public XRRuntimeException​(java.lang.String msg)
        Instantiates a new Exception with a "reason" message.
        Parameters:
        msg - Reason the exception is being thrown.
      • XRRuntimeException

        public XRRuntimeException​(java.lang.String msg,
                                  java.lang.Throwable cause)
        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.