public enum Error extends Enum<Error>
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Returns the error code represented by the created enum instance
|
protected @NotNull String |
getMessage()
Returns the error message describing the error represented by the enum instance.
|
static @NotNull Error |
getName(int errorCode)
Returns the Enum object representing the given errorCode.
|
static Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error NONE
public static final Error UNKNOWN_EXCEPTION
public static final Error UNKNOWN_WEBSERVICE_PROTOCOL
public static final Error UNKNOWN_WEBSERVICE_TYPE
public static final Error INVALID_WEBSERVICE_URL
public static final Error INVALID_FILE_SOURCE
public static final Error INVALID_OPERATION_DATA
public static final Error INVALID_DOCUMENT
public static final Error NO_OPERATION_DATA
public static final Error NO_DOCUMENT
public static final Error INVALID_HISTORY_DATA
public static final Error INVALID_URL
public static final Error HTTP_IO_ERROR
public static final Error HTTPS_IO_ERROR
public static final Error HTTP_EMPTY_ENTITY
public static final Error HTTP_CUSTOM_ERROR
public static final Error UNKNOWN_HTTP_METHOD
public static final Error SESSION_CREATE
public static final Error TO_XML_JSON
public static final Error WSDL_INVALID_FILE
public static final Error WSDL_INVALID_URL
public static final Error SOAP_EXECUTION
public static final Error REST_EXECUTION
public static Error[] values()
for (Error c : Error.values()) System.out.println(c);
public static Error 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 null@NotNull public static @NotNull Error getName(int errorCode)
errorCode - The errorCode an enum representation shall be found for.@NotNull protected @NotNull String getMessage()
public int getCode()
Copyright © 2017–2022 SoftVision Development GmbH, Fulda, Germany. All rights reserved.