org.eclipse.lyo.oslc4j.core.model

## Class Error

- java.lang.Object
- - org.eclipse.lyo.oslc4j.core.model.Error

-     @OslcNamespace(value="http://open-services.net/ns/core#")
      @OslcResourceShape(title="OSLC Error Resource Shape",
                         describes="http://open-services.net/ns/core#Error")
      public class Error
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Error()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ExtendedError` | `getExtendedError()`
    `String` | `getMessage()`
    `String` | `getStatusCode()`
    `void` | `setExtendedError(ExtendedError extendedError)`
    `void` | `setMessage(String message)`
    `void` | `setStatusCode(String statusCode)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Error

          public Error()

  - ### Method Detail

    - #### getExtendedError

          @OslcDescription(value="Extended error information.")
          @OslcPropertyDefinition(value="http://open-services.net/ns/core#extendedError")
          @OslcRange(value="http://open-services.net/ns/core#ExtendedError")
          @OslcReadOnly
          @OslcRepresentation(value=Inline)
          @OslcTitle(value="Extended Error")
          @OslcValueShape(value="resourceShapes/extendedError")
          @OslcValueType(value=LocalResource)
          public ExtendedError getExtendedError()

    - #### getMessage

          @OslcDescription(value="An informative message describing the error that occurred.")
          @OslcOccurs(value=ExactlyOne)
          @OslcPropertyDefinition(value="http://open-services.net/ns/core#message")
          @OslcReadOnly
          @OslcTitle(value="Message")
          public String getMessage()

    - #### getStatusCode

          @OslcDescription(value="The HTTP status code reported with the error.")
          @OslcOccurs(value=ExactlyOne)
          @OslcPropertyDefinition(value="http://open-services.net/ns/core#statusCode")
          @OslcReadOnly
          @OslcTitle(value="Status Code")
          public String getStatusCode()

    - #### setExtendedError

          public void setExtendedError(ExtendedError extendedError)

    - #### setMessage

          public void setMessage(String message)

    - #### setStatusCode

          public void setStatusCode(String statusCode)

Copyright © 2016. All rights reserved.