com.atlassian.plugins.rest.common.error.jersey
Class UncaughtExceptionEntity

java.lang.Object
  extended by com.atlassian.plugins.rest.common.error.jersey.UncaughtExceptionEntity

public class UncaughtExceptionEntity
extends java.lang.Object

An analog of Status specifically for uncaught exceptions. The stack trace is included.


Constructor Summary
UncaughtExceptionEntity()
          JAXB requires a default constructor.
UncaughtExceptionEntity(java.lang.Throwable t)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getStackTrace()
           
static javax.ws.rs.core.MediaType variantFor(javax.ws.rs.core.Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UncaughtExceptionEntity

public UncaughtExceptionEntity()
JAXB requires a default constructor.


UncaughtExceptionEntity

public UncaughtExceptionEntity(java.lang.Throwable t)
Method Detail

getMessage

public java.lang.String getMessage()

getStackTrace

public java.lang.String getStackTrace()

variantFor

public static javax.ws.rs.core.MediaType variantFor(javax.ws.rs.core.Request request)


Copyright © 2014 Atlassian. All Rights Reserved.