public final class ChecksumErrorMessage extends Message
ASCENDING, DESCENDING
Constructor and Description |
---|
ChecksumErrorMessage(Checksum storedChecksum,
Checksum computedChecksum,
long position)
Creates a new
ChecksumErrorMessage instance. |
public ChecksumErrorMessage(Checksum storedChecksum, Checksum computedChecksum, long position)
ChecksumErrorMessage
instance.storedChecksum
- The checksum stored in a file.computedChecksum
- The computed checksum from the same file.position
- Absolute position of the file with the incorrect checksum.NullPointerException
- if either storedChecksum
or computedChecksum
is null
.IllegalArgumentException
- if storedChecksum
is equal to computedChecksum
or if
position
is negative.public Object[] getFormatArguments(Locale locale)
getFormatArguments
in class Message
sumAmount
of the stored checksum.sumTargetAccount
of the stored checksum.sumTargetBank
of the stored checksum.transactionCount
of the stored checksum.sumAmount
of the copmuted checksum.sumTargetAccount
of the copmuted checksum.sumTargetBank
of the copmuted checksum.transactionCount
of the copmuted checksum.Copyright © 2005–2014 jDTAUS. All rights reserved.