org.weborganic.berlioz
Interface ErrorID

All Known Implementing Classes:
BerliozErrorID

public interface ErrorID

An ID for errors to help with error handling and diagnostic.

Error IDs starting with "bz" are reserved by Berlioz.

Note: these are different and complementary to HTTP response codes.

Since:
Berlioz 0.8
Version:
Berlioz 0.8.3 - 30 June 2011
Author:
Christophe Lauret

Method Summary
 String id()
          Returns the error identifier as a string.
 

Method Detail

id

String id()
Returns the error identifier as a string.

Implementations should also ensure that the toString() returns the same value.

Returns:
the error ID as a string.