org.springframework.core
public interface: ErrorCoded [javadoc |
source]
All Known Implementing Classes:
TypeMismatchException, MethodInvocationException, PropertyAccessException
Interface that can be implemented by exceptions etc that are error coded.
The error code is a String, rather than a number, so it can be given
user-readable values, such as "object.failureDescription".
An error code can be resolved by a MessageSource, for example.
| Method from org.springframework.core.ErrorCoded Summary: |
|---|
|
getErrorCode |
| Method from org.springframework.core.ErrorCoded Detail: |
public String getErrorCode()
Return the error code associated with this failure.
The GUI can render this any way it pleases, allowing for localization etc. |