no.digipost.api.client
Enum DigipostClientException.ErrorType
java.lang.Object
java.lang.Enum<DigipostClientException.ErrorType>
no.digipost.api.client.DigipostClientException.ErrorType
- All Implemented Interfaces:
- Serializable, Comparable<DigipostClientException.ErrorType>
- Enclosing class:
- DigipostClientException
public static enum DigipostClientException.ErrorType
- extends Enum<DigipostClientException.ErrorType>
RECIPIENT_DOES_NOT_EXIST
public static final DigipostClientException.ErrorType RECIPIENT_DOES_NOT_EXIST
PROBLEM_WITH_REQUEST
public static final DigipostClientException.ErrorType PROBLEM_WITH_REQUEST
SERVER_ERROR
public static final DigipostClientException.ErrorType SERVER_ERROR
INVALID_TRANSACTION
public static final DigipostClientException.ErrorType INVALID_TRANSACTION
MESSAGE_DOES_NOT_EXIST
public static final DigipostClientException.ErrorType MESSAGE_DOES_NOT_EXIST
DUPLICATE_MESSAGE_ID
public static final DigipostClientException.ErrorType DUPLICATE_MESSAGE_ID
MESSAGE_DELIVERED
public static final DigipostClientException.ErrorType MESSAGE_DELIVERED
GENERAL_ERROR
public static final DigipostClientException.ErrorType GENERAL_ERROR
values
public static DigipostClientException.ErrorType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DigipostClientException.ErrorType c : DigipostClientException.ErrorType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DigipostClientException.ErrorType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2011 Digipost Open Source. All Rights Reserved.