com.atlassian.jira.web.exception
Class WebExceptionChecker

java.lang.Object
  extended by com.atlassian.jira.web.exception.WebExceptionChecker

public class WebExceptionChecker
extends java.lang.Object

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.

Since:
v4.2

Constructor Summary
WebExceptionChecker()
           
 
Method Summary
static boolean canBeSafelyIgnored(java.lang.Throwable throwable)
          Returns true if the Throwable can be safely ignored.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebExceptionChecker

public WebExceptionChecker()
Method Detail

canBeSafelyIgnored

public static boolean canBeSafelyIgnored(java.lang.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


Copyright © 2002-2010 Atlassian. All Rights Reserved.