Class ExceptionWrapper

  • All Implemented Interfaces:
    java.io.Serializable

    public class ExceptionWrapper
    extends java.lang.RuntimeException
    A wrapper to make exceptions leaking into Jetty easier to track. Jetty swallows all information about where an exception was thrown, so this wrapper ensures some extra information is automatically added to the contents of getMessage().
    Author:
    Steinar Knutsen
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ExceptionWrapper​(java.lang.Throwable t)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

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

      • ExceptionWrapper

        public ExceptionWrapper​(java.lang.Throwable t)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable