public final class ApplicationExceptions extends Object
Modifier and Type | Method and Description |
---|---|
static ApplicationException |
applicationException(org.springframework.http.HttpStatus status,
String format,
Serializable... arguments) |
static void |
check(boolean expression,
org.springframework.http.HttpStatus status,
String format,
Serializable... arguments) |
static void |
checkArgument(boolean expression,
String format,
Serializable... arguments) |
static <T> T |
checkNotNull(T object,
org.springframework.http.HttpStatus status,
String format,
Serializable... arguments) |
static String |
toTemplate(String format) |
static ApplicationException |
wrap(Throwable throwable,
org.springframework.http.HttpStatus status,
String format,
Serializable... arguments) |
public static void checkArgument(boolean expression, String format, Serializable... arguments)
public static <T> T checkNotNull(T object, org.springframework.http.HttpStatus status, String format, Serializable... arguments)
public static void check(boolean expression, org.springframework.http.HttpStatus status, String format, Serializable... arguments)
public static ApplicationException wrap(Throwable throwable, org.springframework.http.HttpStatus status, String format, Serializable... arguments)
public static ApplicationException applicationException(org.springframework.http.HttpStatus status, String format, Serializable... arguments)
Copyright © 2017. All rights reserved.