ErrorProviderHibernateImpl Resource

An API to report errors that occur during scheduled processes.

GET /error/getErrorCode/{code}

Get the error code provided the code's descriptor.

Request Parameters
name type description constraints
code path The code descriptor. long
Response Body
media type data type description
application/json ErrorCode (JSON) The error code object represted by the descriptor code given.
application/xml errorCode (XML)

Example

Request
GET /error/getErrorCode/{code}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "description" : "...",
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}