Class ExceptionBean
java.lang.Object
org.odpi.openmetadata.conformance.beans.ExceptionBean
- All Implemented Interfaces:
Serializable
The ExceptionBean is used to capture an exception in JSON
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the error message associated with the exception.Return the name of the class name for a caught exception.Return the properties providing more details about the exception.Return the URL of the description of the test case.Return the unique identifier of the test case.Return the display name of the test case.void
setErrorMessage
(String errorMessage) Set up the error message associated with the exception.void
setExceptionClassName
(String exceptionClassName) Set up the class name for the exception.void
setProperties
(Map<String, String> properties) Set up the properties providing more details about the exception.void
setTestCaseDescriptionURL
(String testCaseDescriptionURL) Set up the URL of the description of the test case.void
setTestCaseId
(String testCaseId) Set up the unique identifier of the test case.void
setTestCaseName
(String testCaseName) Set up the display name of the test case.toString()
toString() JSON-style
-
Constructor Details
-
ExceptionBean
public ExceptionBean()Default constructor
-
-
Method Details
-
getExceptionClassName
Return the name of the class name for a caught exception.- Returns:
- class name
-
setExceptionClassName
Set up the class name for the exception.- Parameters:
exceptionClassName
- string name
-
getErrorMessage
Return the error message associated with the exception.- Returns:
- string message
-
setErrorMessage
Set up the error message associated with the exception.- Parameters:
errorMessage
- string message
-
getTestCaseId
Return the unique identifier of the test case.- Returns:
- string id
-
setTestCaseId
Set up the unique identifier of the test case.- Parameters:
testCaseId
- string id
-
getTestCaseName
Return the display name of the test case.- Returns:
- string name
-
setTestCaseName
Set up the display name of the test case.- Parameters:
testCaseName
- string name
-
getTestCaseDescriptionURL
Return the URL of the description of the test case.- Returns:
- string url
-
setTestCaseDescriptionURL
Set up the URL of the description of the test case.- Parameters:
testCaseDescriptionURL
- string url
-
getProperties
Return the properties providing more details about the exception.- Returns:
- property map
-
setProperties
Set up the properties providing more details about the exception.- Parameters:
properties
- property map
-
toString
toString() JSON-style
-