messagePrefix property

String messagePrefix
final

The prefix to display at the beginning of the error message. When reading the message of an exception inside a try-catch block (for example), the output would look like this:

"SomeException: The actual error message"

In the above example, SomeException is defined by this variable and it's always put before the actual error message.

Implementation

final String messagePrefix;