Class UncaughtException

  • All Implemented Interfaces:
    java.io.Serializable, javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>

    @Provider
    @Vetoed
    public class UncaughtException
    extends java.lang.Throwable
    implements javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>
    Created by eugeniuparvan on 9/1/17.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response toResponse​(java.lang.Throwable exception)  
      • 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

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

      • UncaughtException

        public UncaughtException()
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(java.lang.Throwable exception)
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<java.lang.Throwable>