Enum ExceptionReason

java.lang.Object
java.lang.Enum<ExceptionReason>
net.aifusion.metamodel.ExceptionReason
All Implemented Interfaces:
Serializable, Comparable<ExceptionReason>, java.lang.constant.Constable

public enum ExceptionReason extends Enum<ExceptionReason>
Reason for throwing a CIM Exception. See DSP0200 for definitions
Author:
Sharad Singhal
  • Enum Constant Details

    • FAILED

      public static final ExceptionReason FAILED
      1- A general error occurred that is not covered by a more specific error code
    • ACCESS_DENIED

      public static final ExceptionReason ACCESS_DENIED
      2- Access to a resource is not available to the client
    • INVALID_NAMESPACE

      public static final ExceptionReason INVALID_NAMESPACE
      3- The target namespace does not exist
    • INVALID_PARAMETER

      public static final ExceptionReason INVALID_PARAMETER
      4- One or more parameter values passed to the method are not valid
    • INVALID_CLASS

      public static final ExceptionReason INVALID_CLASS
      5- The specified class does not exist
    • NOT_FOUND

      public static final ExceptionReason NOT_FOUND
      6- The requested object cannot be found. See also HTTP_NOT_FOUND
    • NOT_SUPPORTED

      public static final ExceptionReason NOT_SUPPORTED
      7- The requested operation is not supported
    • CLASS_HAS_CHILDREN

      public static final ExceptionReason CLASS_HAS_CHILDREN
      8- The operation cannot be invoked on this class because it has subclasses
    • CLASS_HAS_INSTANCES

      public static final ExceptionReason CLASS_HAS_INSTANCES
      9- The operation cannot be invoked on this class because one or more instances of this class exist
    • INVALID_SUPERCLASS

      public static final ExceptionReason INVALID_SUPERCLASS
      10- The operation cannot be invoked because the specified superclass does not exist
    • ALREADY_EXISTS

      public static final ExceptionReason ALREADY_EXISTS
      11- The operation cannot be invoked because an object already exists
    • NO_SUCH_PROPERTY

      public static final ExceptionReason NO_SUCH_PROPERTY
      12- The specified property does not exist
    • TYPE_MISMATCH

      public static final ExceptionReason TYPE_MISMATCH
      13- The dataValue supplied is not compatible with the type
    • QUERY_LANGUAGE_NOT_SUPPORTED

      public static final ExceptionReason QUERY_LANGUAGE_NOT_SUPPORTED
      14- The query language is not recognized or supported
    • INVALID_QUERY

      public static final ExceptionReason INVALID_QUERY
      15- The query is not valid for the specified query language
    • METHOD_NOT_AVAILABLE

      public static final ExceptionReason METHOD_NOT_AVAILABLE
      16- The extrinsic method cannot be invoked because it is not available
    • METHOD_NOT_FOUND

      public static final ExceptionReason METHOD_NOT_FOUND
      17- The specified extrinsic method does not exist
    • NAMESPACE_NOT_EMPTY

      public static final ExceptionReason NAMESPACE_NOT_EMPTY
      20- The specified Namespace is not empty
    • INVALID_ENUMERATION_CONTEXT

      public static final ExceptionReason INVALID_ENUMERATION_CONTEXT
      21 The enumeration identified by the specified context cannot be found, is in a closed state, does not exist, or is otherwise invalid.
    • INVALID_OPERATION_TIMEOUT

      public static final ExceptionReason INVALID_OPERATION_TIMEOUT
      22 The specified operation timeout is not supported by the server
    • PULL_HAS_BEEN_ABANDONED

      public static final ExceptionReason PULL_HAS_BEEN_ABANDONED
      23 The Pull operation has been abandoned due to execution of a concurrent CloseEnumeration operation on the same enumeration.
    • PULL_CANNOT_BE_ABANDONED

      public static final ExceptionReason PULL_CANNOT_BE_ABANDONED
      24 The attempt to abandon a concurrent Pull operation on the same enumeration failed, the concurrent Pull operation proceeds normally.
    • FILTERED_ENUMERATION_NOT_SUPPORTED

      public static final ExceptionReason FILTERED_ENUMERATION_NOT_SUPPORTED
      25 Using a filter in the enumeration is not supported by the Server.
    • CONTINUATION_ON_ERROR_NOT_SUPPORTED

      public static final ExceptionReason CONTINUATION_ON_ERROR_NOT_SUPPORTED
      26 The CIM Server does not support continuation on error.
    • SERVER_LIMITS_EXCEEDED

      public static final ExceptionReason SERVER_LIMITS_EXCEEDED
      27 The CIM Server has failed the operation based upon exceeding server limits.
    • SERVER_IS_SHUTTING_DOWN

      public static final ExceptionReason SERVER_IS_SHUTTING_DOWN
      28 The Server is in the process of shutting down and cannot process the operation at this time.
  • Method Details

    • values

      public static ExceptionReason[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ExceptionReason 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
    • getCode

      public int getCode()
      Get the error code corresponding to this reason
      Returns:
      - error code
    • getDescription

      public String getDescription()
      Get a human-readable description for the reason
      Returns:
      - string containing description
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ExceptionReason>