public final class IllegalDataMessage extends Message
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_ALPHA
Constant for DTAUS alphabet fields.
|
static int |
TYPE_ALPHA_NUMERIC
Constant for alpha-numeric DTAUS alphabet fields.
|
static int |
TYPE_BANKLEITZAHL
Constant for
Bankleitzahl fields. |
static int |
TYPE_CONSTANT
Constant for well-known constant value fields.
|
static int |
TYPE_CURRENCY
Constant for currency fields.
|
static int |
TYPE_FILETYPE
Constant for field 3 of an A record.
|
static int |
TYPE_KONTONUMMER
Constant for
Kontonummer fields. |
static int |
TYPE_LONGDATE
Constant for four-digit year information date fields.
|
static int |
TYPE_NUMERIC
Constant for numeric DTAUS alphabet fields.
|
static int |
TYPE_PACKET_POSITIVE
Constant for EBCDIC packed number fields.
|
static int |
TYPE_REFERENZNUMMER
Constant for either a
Referenznummer10 or
Referenznummer11 fields. |
static int |
TYPE_RESERVED
Constant for reserved fields.
|
static int |
TYPE_SHORTDATE
Constant for two-digit year information date fields.
|
static int |
TYPE_TEXTSCHLUESSEL
Constant for
Textschluessel fields. |
ASCENDING, DESCENDING
Constructor and Description |
---|
IllegalDataMessage(int field,
int type,
long position,
String invalidData)
Creates a new
IllegalDataMessage instance taking information about the illegal data. |
public static final int TYPE_ALPHA
public static final int TYPE_ALPHA_NUMERIC
public static final int TYPE_BANKLEITZAHL
Bankleitzahl
fields.public static final int TYPE_CONSTANT
public static final int TYPE_CURRENCY
public static final int TYPE_FILETYPE
public static final int TYPE_KONTONUMMER
Kontonummer
fields.public static final int TYPE_LONGDATE
public static final int TYPE_NUMERIC
public static final int TYPE_PACKET_POSITIVE
public static final int TYPE_REFERENZNUMMER
Referenznummer10
or
Referenznummer11
fields.public static final int TYPE_RESERVED
public static final int TYPE_SHORTDATE
public static final int TYPE_TEXTSCHLUESSEL
Textschluessel
fields.public IllegalDataMessage(int field, int type, long position, String invalidData)
IllegalDataMessage
instance taking information about the illegal data.field
- Constant for the field holding illegal data.type
- Constant for the type of the field.position
- Absolute position of the field holding illegal data.invalidData
- The illegal data held in field
at position
.IllegalArgumentException
- if type
does not match one of TYPE_XYZ
constants.spi.Fields
public Object[] getFormatArguments(Locale locale)
getFormatArguments
in class Message
Copyright © 2005–2014 jDTAUS. All rights reserved.