Package | Description |
---|---|
org.glyptodon.guacamole.net.basic.rest |
Classes related to the basic Guacamole REST API.
|
Modifier and Type | Method and Description |
---|---|
APIError.Type |
APIError.getType()
Returns the type of error that occurred.
|
static APIError.Type |
APIError.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIError.Type[] |
APIError.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
APIError(APIError.Type type,
String message)
Create a new APIError with the specified error message.
|
APIError(APIError.Type type,
String message,
Collection<Field> expected)
Create a new APIError with the specified error message and parameter
information.
|
APIException(APIError.Type type,
String message)
Creates a new APIException with the given type and message.
|
APIException(APIError.Type type,
String message,
Collection<Field> expected)
Creates a new APIException with the given type, message, and parameter
information.
|
Copyright © 2015. All rights reserved.