Class ExceptionBean

java.lang.Object
org.odpi.openmetadata.conformance.beans.ExceptionBean
All Implemented Interfaces:
Serializable

public class ExceptionBean extends Object implements Serializable
The ExceptionBean is used to capture an exception in JSON
See Also:
  • Constructor Details

    • ExceptionBean

      public ExceptionBean()
      Default constructor
  • Method Details

    • getExceptionClassName

      public String getExceptionClassName()
      Return the name of the class name for a caught exception.
      Returns:
      class name
    • setExceptionClassName

      public void setExceptionClassName(String exceptionClassName)
      Set up the class name for the exception.
      Parameters:
      exceptionClassName - string name
    • getErrorMessage

      public String getErrorMessage()
      Return the error message associated with the exception.
      Returns:
      string message
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
      Set up the error message associated with the exception.
      Parameters:
      errorMessage - string message
    • getTestCaseId

      public String getTestCaseId()
      Return the unique identifier of the test case.
      Returns:
      string id
    • setTestCaseId

      public void setTestCaseId(String testCaseId)
      Set up the unique identifier of the test case.
      Parameters:
      testCaseId - string id
    • getTestCaseName

      public String getTestCaseName()
      Return the display name of the test case.
      Returns:
      string name
    • setTestCaseName

      public void setTestCaseName(String testCaseName)
      Set up the display name of the test case.
      Parameters:
      testCaseName - string name
    • getTestCaseDescriptionURL

      public String getTestCaseDescriptionURL()
      Return the URL of the description of the test case.
      Returns:
      string url
    • setTestCaseDescriptionURL

      public void setTestCaseDescriptionURL(String testCaseDescriptionURL)
      Set up the URL of the description of the test case.
      Parameters:
      testCaseDescriptionURL - string url
    • getProperties

      public Map<String,String> getProperties()
      Return the properties providing more details about the exception.
      Returns:
      property map
    • setProperties

      public void setProperties(Map<String,String> properties)
      Set up the properties providing more details about the exception.
      Parameters:
      properties - property map
    • toString

      public String toString()
      toString() JSON-style
      Overrides:
      toString in class Object
      Returns:
      string description