public class

WebExceptionChecker

extends Object
java.lang.Object
   ↳ com.atlassian.jira.web.exception.WebExceptionChecker

Class Overview

There are a series of Exceptions that we deem to be acceptable to be ignored when sending web data back to clients

For example if the browser has reset the connection, then we dont really care about sending back a 500 or logging the exception since the former will never be heard and the latter will just fill up the logs.

Summary

Public Constructors
WebExceptionChecker()
Public Methods
static boolean canBeSafelyIgnored(Throwable throwable)
Returns true if the Throwable can be safely ignored.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WebExceptionChecker ()

Public Methods

public static boolean canBeSafelyIgnored (Throwable throwable)

Returns true if the Throwable can be safely ignored.

Parameters
throwable the throwable in play
Returns
  • true if it can safely be ignored