public class WebExceptionChecker extends Object
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.
Constructor and Description |
---|
WebExceptionChecker() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canBeSafelyIgnored(Throwable throwable)
Returns true if the Throwable can be safely ignored.
|
public static boolean canBeSafelyIgnored(Throwable throwable)
throwable
- the throwable in playCopyright © 2002-2019 Atlassian. All Rights Reserved.