public static enum SpringBusExceptionHandler.ManagedException extends Enum<SpringBusExceptionHandler.ManagedException>
Enum Constant and Description |
---|
AUTHENTICATION |
AUTHORIZATION |
BACKEND_UNAVAILABLE |
BUS_EXCEPTION |
REQUEST_EXCEPTION |
Modifier and Type | Method and Description |
---|---|
static SpringBusExceptionHandler.ManagedException |
parse(Throwable cause) |
javax.ws.rs.core.Response |
toResponse(Throwable cause) |
static SpringBusExceptionHandler.ManagedException |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpringBusExceptionHandler.ManagedException[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpringBusExceptionHandler.ManagedException AUTHENTICATION
public static final SpringBusExceptionHandler.ManagedException AUTHORIZATION
public static final SpringBusExceptionHandler.ManagedException BUS_EXCEPTION
public static final SpringBusExceptionHandler.ManagedException BACKEND_UNAVAILABLE
public static final SpringBusExceptionHandler.ManagedException REQUEST_EXCEPTION
public static SpringBusExceptionHandler.ManagedException[] values()
for (SpringBusExceptionHandler.ManagedException c : SpringBusExceptionHandler.ManagedException.values()) System.out.println(c);
public static SpringBusExceptionHandler.ManagedException valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic javax.ws.rs.core.Response toResponse(Throwable cause)
public static SpringBusExceptionHandler.ManagedException parse(Throwable cause)
Copyright © 2023 Frank!Framework. All rights reserved.