FileDocCategorySizeDatePackage
ICodedException.javaAPI DocAndroid 1.5 API1600Wed May 06 22:41:16 BST 2009com.vladium.util.exception

ICodedException

public interface ICodedException
TODO: javadoc This interface is implemented by {@link AbstractException} and {@link AbstractRuntimeException} to provide a common interface for accessing error codes.

An error code is a compact string representing the nature of exception in a programmatic locale-independent way. It can be used as a key that maps to a human-readable error message in a resource bundle. For details, see the exception classes mentioned above.

author
Vlad Roubtsov, (C) 2002

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetErrorCode()
Returns the String that was passed as 'message' argument to an exception constructor. For a coded exception this will be the compact error code [and different from the result of getMessage()], otherwise this will be traditional error message.

return
message code string [can be null]