Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
6.6 kB
2
Indexable
Never
    // Successful responses
    OK(BigInteger.valueOf(2000), "OK"),
    CREATED(BigInteger.valueOf(2001), "Created"),
    DELETED(BigInteger.valueOf(2002), "Deleted"),
    UPDATED(BigInteger.valueOf(2004), "Updated"),

    // Originator error responses
    BAD_REQUEST(BigInteger.valueOf(4000), "Bad Request"),
    RELEASE_VERSION_NOT_SUPPORTED(BigInteger.valueOf(4001), "Release Version Not Supported"),
    NOT_FOUND(BigInteger.valueOf(4004), "Not Found"),
    OPERATION_NOT_ALLOWED(BigInteger.valueOf(4005), "Operation Not Allowed"),
    REQUEST_TIMEOUT(BigInteger.valueOf(4008), "Request Timeout"),
    UNSUPPORTED_MEDIA_TYPE(BigInteger.valueOf(4015), "Unsupported Media Type"),
    SUBSCRIPTION_CREATOR_HAS_NO_PRIVILEGE(BigInteger.valueOf(4101), "Subscription Creator Has No Privilege"),
    CONTENTS_UNACCEPTABLE(BigInteger.valueOf(4102), "Contents Unacceptable"),
    ORIGINATOR_HAS_NO_PRIVILEGE(BigInteger.valueOf(4103), "Originator Has No Privilege"),
    GROUP_REQUEST_IDENTIFIER_EXISTS(BigInteger.valueOf(4104), "Group Request Identifier Exists"),
    CONFLICT(BigInteger.valueOf(4105), "Conflict"),
    ORIGINATOR_HAS_NOT_REGISTERED(BigInteger.valueOf(4106), "Originator Has Not Registered"),
    SECURITY_ASSOCIATION_REQUIRED(BigInteger.valueOf(4107), "Security Association Required"),
    INVALID_CHILD_RESOURCE_TYPE(BigInteger.valueOf(4108), "Invalid Child Resource Type"),
    NO_MEMBERS(BigInteger.valueOf(4109), "No Members"),
    GROUP_MEMBER_TYPE_INCONSISTENT(BigInteger.valueOf(4110), "Group Member Type Inconsistent"),
    ESPRIM_UNSUPPORTED_OPTION(BigInteger.valueOf(4011), "Esprim Unsupported Option"),
    ESPRIM_UNKNOWN_KEY_ID(BigInteger.valueOf(4012), "Esprim Unknown Key ID"),
    ESPRIM_UNKNOWN_ORIG_RAND_ID(BigInteger.valueOf(4013), "Esprim Unknown Orig Rand ID"),
    ESPRIM_UNKNOWN_RECV_RAND_ID(BigInteger.valueOf(4014), "Esprim Unknown Recv Rand ID"),
    ESPRIM_BAD_MAC(BigInteger.valueOf(4015), "Esprim Bad MAC"),
    ESPRIM_IMPERSONATION_ERROR(BigInteger.valueOf(4016), "Esprim Impersonation Error"),
    ORIGINATOR_HAS_ALREADY_REGISTERED(BigInteger.valueOf(4017), "Originator Has Already Registered"),
    ONTOLOGY_NOT_AVAILABLE(BigInteger.valueOf(4018), "Ontology Not Available"),
    LINKED_SEMANTICS_NOT_AVAILABLE(BigInteger.valueOf(4019), "Linked Semantics Not Available"),
    INVALID_SEMANTICS(BigInteger.valueOf(4020), "Invalid Semantics"),
    MASHUP_MEMBER_NOT_FOUND(BigInteger.valueOf(4021), "Mashup Member Not Found"),
    INVALID_TRIGGER_PURPOSE(BigInteger.valueOf(4022), "Invalid Trigger Purpose"),
    ILLEGAL_TRANSACTION_STATE_TRANSITION_ATTEMPTED(BigInteger.valueOf(4023), "Illegal Transaction State Transition Attempted"),
    BLOCKING_SUBSCRIPTION_ALREADY_EXISTS(BigInteger.valueOf(4024), "Blocking Subscription Already Exists"),
    SPECIALIZATION_SCHEMA_NOT_FOUND(BigInteger.valueOf(4025), "Specialization Schema Not Found"),

    // Receiver error responses
    INTERNAL_SERVER_ERROR(BigInteger.valueOf(5000), "Internal Server Error"),
    NOT_IMPLEMENTED(BigInteger.valueOf(5001), "Not Implemented"),
    TARGET_NOT_REACHABLE(BigInteger.valueOf(5103), "Target Not Reachable"),
    RECEIVER_HAS_NO_PRIVILEGE(BigInteger.valueOf(5105), "Receiver Has No Privilege"),
    ALREADY_EXISTS(BigInteger.valueOf(5106), "Already Exists"),
    TARGET_NOT_SUBSCRIBABLE(BigInteger.valueOf(5203), "Target Not Subscribable"),
    SUBSCRIPTION_VERIFICATION_INITIATION_FAILED(BigInteger.valueOf(5204), "Subscription Verification Initiation Failed"),
    SUBSCRIPTION_HOST_HAS_NO_PRIVILEGE(BigInteger.valueOf(5205), "Subscription Host Has No Privilege"),
    NON_BLOCKING_REQUEST_NOT_SUPPORTED(BigInteger.valueOf(5206), "Non Blocking Request Not Supported"),
    NOT_ACCEPTABLE(BigInteger.valueOf(5207), "Not Acceptable"),
    DISCOVERY_DENIED_BY_IPE(BigInteger.valueOf(5208), "Discovery Denied by IPE"),
    GROUP_MEMBERS_NOT_RESPONDED(BigInteger.valueOf(5209), "Group Members Not Responded"),
    ESPRIM_DECRYPTION_ERROR(BigInteger.valueOf(5210), "Esprim Decryption Error"),
    ESPRIM_ENCRYPTION_ERROR(BigInteger.valueOf(5211), "Esprim Encryption Error"),
    SPARQL_UPDATE_ERROR(BigInteger.valueOf(5212), "SPARQL Update Error"),
    TARGET_HAS_NO_SESSION_CAPABILITY(BigInteger.valueOf(5214), "Target Has No Session Capability"),
    SESSION_IS_ONLINE(BigInteger.valueOf(5215), "Session Is Online"),
    JOIN_MULTICAST_GROUP_FAILED(BigInteger.valueOf(5216), "Join Multicast Group Failed"),
    LEAVE_MULTICAST_GROUP_FAILED(BigInteger.valueOf(5217), "Leave Multicast Group Failed"),
    TRIGGERING_DISABLED_FOR_RECIPIENT(BigInteger.valueOf(5218), "Triggering Disabled for Recipient"),
    UNABLE_TO_REPLACE_REQUEST(BigInteger.valueOf(5219), "Unable to Replace Request"),
    UNABLE_TO_RECALL_REQUEST(BigInteger.valueOf(5220), "Unable to Recall Request"),
    CROSS_RESOURCE_OPERATION_FAILURE(BigInteger.valueOf(5221), "Cross Resource Operation Failure"),
    TRANSACTION_PROCESSING_IS_INCOMPLETE(BigInteger.valueOf(5222), "Transaction Processing Is Incomplete"),

    SERVICE_UNAVAILABLE(BigInteger.valueOf(5042), "Service Unavailable"),

    // Network service error responses
    EXTERNAL_OBJECT_NOT_REACHABLE(BigInteger.valueOf(6003), "External Object Not Reachable"),
    EXTERNAL_OBJECT_NOT_FOUND(BigInteger.valueOf(6005), "External Object Not Found"),
    MAX_NUMBER_OF_MEMBER_EXCEEDED(BigInteger.valueOf(6010), "Max Number of Member Exceeded"),
    MEMBER_TYPE_INCONSISTENT(BigInteger.valueOf(6011), "Member Type Inconsistent"),
    MGMT_SESSION_CANNOT_BE_ESTABLISHED(BigInteger.valueOf(6020), "Mgmt Session Cannot Be Established"),
    MGMT_SESSION_ESTABLISHMENT_TIMEOUT(BigInteger.valueOf(6021), "Mgmt Session Establishment Timeout"),
    INVALID_CMDTYPE(BigInteger.valueOf(6022), "Invalid CmdType"),
    INVALID_ARGUMENTS(BigInteger.valueOf(6023), "Invalid Arguments"),
    INSUFFICIENT_ARGUMENTS(BigInteger.valueOf(6024), "Insufficient Arguments"),
    MGMT_CONVERSION_ERROR(BigInteger.valueOf(6025), "Mgmt Conversion Error"),
    MGMT_CANCELATION_FAILURE(BigInteger.valueOf(6026), "Mgmt Cancellation Failure"),
    ALREADY_COMPLETED(BigInteger.valueOf(6028), "Already Completed"),
    MGMT_COMMAND_NOT_CANCELLABLE(BigInteger.valueOf(6029), "Mgmt Command Not Cancellable"),
    EXTERNAL_OBJECT_NOT_REACHABLE_BEFORE_RQET_TIMEOUT(BigInteger.valueOf(6030), "External Object Not Reachable Before RQET Timeout"),
    EXTERNAL_OBJECT_NOT_REACHABLE_BEFORE_OET_TIMEOUT(BigInteger.valueOf(6031), "External Object Not Reachable Before OET Timeout");
Leave a Comment