Skip navigation links
com.bea.wcp.diameter.management.descriptor.validator
Enum ValidationError
java.lang.Object
java.lang.Enum<ValidationError>
com.bea.wcp.diameter.management.descriptor.validator.ValidationError
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ValidationError>
-
public enum ValidationError
- extends java.lang.Enum<ValidationError>
Validation error types for console support.
Method Summary |
java.lang.String |
getFormat()
|
java.lang.String |
getMessage(java.lang.Object[] args)
|
static ValidationError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ValidationError[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DUPLICATE_ROUTE
public static final ValidationError DUPLICATE_ROUTE
MISSING_ROUTE_SERVERS
public static final ValidationError MISSING_ROUTE_SERVERS
UNKNOWN_ROUTE_SERVER
public static final ValidationError UNKNOWN_ROUTE_SERVER
UNKNOWN_TARGET
public static final ValidationError UNKNOWN_TARGET
MISSING_DEFAULT_ROUTE_SERVERS
public static final ValidationError MISSING_DEFAULT_ROUTE_SERVERS
UNKNOWN_DEFAULT_ROUTE_SERVER
public static final ValidationError UNKNOWN_DEFAULT_ROUTE_SERVER
values
public static ValidationError[] 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 (ValidationError c : ValidationError.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static ValidationError valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
java.lang.NullPointerException
- if the argument is null
getFormat
public java.lang.String getFormat()
getMessage
public java.lang.String getMessage(java.lang.Object[] args)
Skip navigation links
Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.