|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NumberCode
A specific code interface that deals with number codes. Implementations of this interface provide access to a major and a minor number.
Method Summary | |
---|---|
Integer |
getMajorNumber() Returns the major number of the code defines a group of codes. |
Integer |
getMinorNumber() Returns the minor number gives additional information about the problem. |
Methods inherited from interface de.smartics.exceptions.core.Code |
---|
getCode, getComponentId, getDisplayId, toString |
Method Detail |
---|
Integer getMajorNumber()
For example HTTP knows the major numbers 100, 200, 300, 400, etc.
Integer getMinorNumber()
null
, there is no minor number specified.
For example HTTP knows the minor number 4 for page not found. This will add with the major number to 404.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |