KIE Remote Services :: Services 6.1.0.Beta1

org.kie.services.remote.rest.exception
Enum RestOperationException.Status

java.lang.Object
  extended by java.lang.Enum<RestOperationException.Status>
      extended by org.kie.services.remote.rest.exception.RestOperationException.Status
All Implemented Interfaces:
Serializable, Comparable<RestOperationException.Status>
Enclosing class:
RestOperationException

public static enum RestOperationException.Status
extends Enum<RestOperationException.Status>


Enum Constant Summary
BAD_REQUEST
          === SYNTAX ===
CONFLICT
           
FORBIDDEN
          === FUNCTIONAL ===
GONE
           
INTERNAL_SERVER_ERROR
          === TECHNICAL ===
METHOD_NOT_ALLOWED
          SHOULD NOT BE USED!
NOT_ACCEPTABLE
          === FORMAT ===
NOT_FOUND
           
PRE_CONDITION_FAILED
           
UNAUTHORIZED
          === AUTH ===
UNSUPPORTED_MEDIA_TYPE
           
 
Method Summary
 int getValue()
           
static RestOperationException.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RestOperationException.Status[] 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
 

Enum Constant Detail

BAD_REQUEST

public static final RestOperationException.Status BAD_REQUEST
=== SYNTAX ===


FORBIDDEN

public static final RestOperationException.Status FORBIDDEN
=== FUNCTIONAL ===


NOT_FOUND

public static final RestOperationException.Status NOT_FOUND

CONFLICT

public static final RestOperationException.Status CONFLICT

INTERNAL_SERVER_ERROR

public static final RestOperationException.Status INTERNAL_SERVER_ERROR
=== TECHNICAL ===


METHOD_NOT_ALLOWED

public static final RestOperationException.Status METHOD_NOT_ALLOWED
SHOULD NOT BE USED! (because these are inappropriate) Added for documentation


GONE

public static final RestOperationException.Status GONE

PRE_CONDITION_FAILED

public static final RestOperationException.Status PRE_CONDITION_FAILED

NOT_ACCEPTABLE

public static final RestOperationException.Status NOT_ACCEPTABLE
=== FORMAT ===


UNSUPPORTED_MEDIA_TYPE

public static final RestOperationException.Status UNSUPPORTED_MEDIA_TYPE

UNAUTHORIZED

public static final RestOperationException.Status UNAUTHORIZED
=== AUTH ===

Method Detail

values

public static RestOperationException.Status[] 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 (RestOperationException.Status c : RestOperationException.Status.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RestOperationException.Status 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

getValue

public int getValue()

KIE Remote Services :: Services 6.1.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.