Package org.miniorange.saml
Enum MoPluginException.PluginErrorCode
- java.lang.Object
-
- java.lang.Enum<MoPluginException.PluginErrorCode>
-
- org.miniorange.saml.MoPluginException.PluginErrorCode
-
- All Implemented Interfaces:
Serializable
,Comparable<MoPluginException.PluginErrorCode>
- Enclosing class:
- MoPluginException
public static enum MoPluginException.PluginErrorCode extends Enum<MoPluginException.PluginErrorCode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERT_ERROR
For invalid certificatesMETADATA_PARSE
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
static MoPluginException.PluginErrorCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static MoPluginException.PluginErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final MoPluginException.PluginErrorCode UNKNOWN
-
METADATA_PARSE
public static final MoPluginException.PluginErrorCode METADATA_PARSE
-
CERT_ERROR
public static final MoPluginException.PluginErrorCode CERT_ERROR
For invalid certificates
-
-
Method Detail
-
values
public static MoPluginException.PluginErrorCode[] 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 (MoPluginException.PluginErrorCode c : MoPluginException.PluginErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MoPluginException.PluginErrorCode 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 nameNullPointerException
- if the argument is null
-
getMessage
public String getMessage()
-
-