Class BodyError
java.lang.Object
org.eclipse.keyple.core.util.json.BodyError
POJO used to transport the content of an
Exception
into a string.- Since:
- 2.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Gets the exception class name.Gets the associated exception.
-
Constructor Details
-
BodyError
Builds an instance from an exception reference.- Parameters:
exception
- The exception.- Since:
- 2.0.0
-
-
Method Details
-
getCode
Gets the exception class name.- Returns:
- a not null value.
- Since:
- 2.0.0
-
getException
Gets the associated exception.- Returns:
- a not null reference.
- Since:
- 2.0.0
-