public class BodyError
extends java.lang.Object
RuntimeException
into a StringConstructor and Description |
---|
BodyError(java.lang.RuntimeException exception)
Builds an instance from an exception reference.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
Gets the exception class name.
|
java.lang.RuntimeException |
getException()
Gets the associated runtime exception.
|