public class GlyphDetail
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
code |
private GlyphException |
exception |
Constructor and Description |
---|
GlyphDetail(int code) |
GlyphDetail(int code,
GlyphException error) |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the character code.
|
void |
throwExceptionIfNotValid() |
private final int code
private final GlyphException exception
public GlyphDetail(int code)
code
- character codepublic GlyphDetail(int code, GlyphException error)
code
- character codeerror
- glyph exceptionpublic void throwExceptionIfNotValid() throws GlyphException
GlyphException
public int getCode()