public enum ErrorType extends Enum<ErrorType>
Enum Constant and Description |
---|
CANNOT_GENERATE_VALIDATION_HANDLER
Error while generating the
ValidationHandler |
INVALID_FILE
Error while loading contract.
|
INVALID_SPEC
Provided file is not a valid OpenAPI contract
|
MISSING_SECURITY_HANDLER
Missing security handler during construction of router
|
OPERATION_ID_NOT_FOUND
You are trying to mount an operation with operation_id not defined in specification
|
UNSUPPORTED_SPEC
You are trying to use a spec feature not supported by this package.
|
WRONG_INTERFACE
You specified an interface not annotated with
WebApiServiceGen while
calling RouterBuilder.mountServiceInterface(Class, String) |
WRONG_SERVICE_EXTENSION
You specified a wrong service extension
|
Modifier and Type | Method and Description |
---|---|
static ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorType OPERATION_ID_NOT_FOUND
public static final ErrorType INVALID_FILE
public static final ErrorType INVALID_SPEC
public static final ErrorType MISSING_SECURITY_HANDLER
public static final ErrorType UNSUPPORTED_SPEC
public static final ErrorType WRONG_INTERFACE
WebApiServiceGen
while
calling RouterBuilder.mountServiceInterface(Class, String)
public static final ErrorType WRONG_SERVICE_EXTENSION
public static final ErrorType CANNOT_GENERATE_VALIDATION_HANDLER
ValidationHandler
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType 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 nullCopyright © 2024 Eclipse. All rights reserved.