public class MyNumberCodeInfo
extends de.smartics.exceptions.code.NumberCodeInfo
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The class version identifier.
|
Constructor and Description |
---|
MyNumberCodeInfo(String componentId, Integer majorNumber, Integer minorNumber)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getDisplayId() |
private static final long serialVersionUID
The value of this constant is 1L.
1L
public MyNumberCodeInfo(String componentId, Integer majorNumber, Integer minorNumber) throws NullPointerException
componentId
- the identifier of the component this code belongs to.
majorNumber
- the major number of the code defines a group of codes.
minorNumber
- the minor number gives additional information about the problem.
NullPointerException
- if the major number is
null
.
public String getDisplayId()
getDisplayId
in interface
de.smartics.exceptions.core.Code
getDisplayId
in class
de.smartics.exceptions.code.NumberCodeInfo
public String getCode()
getCode
in interface
de.smartics.exceptions.core.Code
getCode
in class
de.smartics.exceptions.code.NumberCodeInfo