interface WithReferenceCodeInterface (View source)

Marks Exceptions having a reference code to look up.

Methods

string
getReferenceCode()

Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.

Details

string getReferenceCode()

Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.

Could be a timestamp (+ some random factor to avoid duplications) for example.

Return Value

string