Interface ErrorItem
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultErrorItem
public interface ErrorItem extends Serializable
Error Item abstraction which is part ofErrors
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Object o)
Compares the specified object with thisErrorItem
for equality.String
getCode()
Return the error code.String
getMessage()
Return the (human readable) error message.int
hashCode()
Returns the hash code value for thisErrorItem
.
-
-
-
Method Detail
-
getCode
String getCode()
Return the error code.Application may use this error code as same as a resource bundle key for simplicity.
- Returns:
- the error code
-
getMessage
String getMessage()
Return the (human readable) error message.- Returns:
- the (human readable) error message
-
equals
boolean equals(Object o)
Compares the specified object with thisErrorItem
for equality.
-
-