Interface CollectingError
-
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface CollectingError
CollectingError
is an interface that describes an error that happens while collecting references- Since:
- 21.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CollectingError.Severity
The severity of the error
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getMessage()
java.lang.Exception
getRelatedException()
The exception related to the error if any.CollectingError.Severity
getSeverity()
-
-
-
Method Detail
-
getMessage
java.lang.String getMessage()
- Returns:
- the message associated with this error
-
getSeverity
CollectingError.Severity getSeverity()
- Returns:
- the severity of this error
-
getRelatedException
java.lang.Exception getRelatedException()
The exception related to the error if any.- Returns:
- the exception
-
-