Create an ErrorRef
instance and log the given exception with the unique identifier.
Create an ErrorRef
instance and log the given exception with the unique identifier.
an exception to be tagged and logged in the server logs.
optional client-facing error message. If None is provided then the reference is created without any message, just an error ID. The original exception message is not used for this purpose to avoid potential leaking of server implementational details or a sensitive data.
a new instance of ErrorRef
.
(Since version ) see corresponding Javadoc for more information.