public class StructuredFieldErrornouslyBuilt extends StructuredFieldBaseData
StructuredFieldErrornouslyBuilt.AFPParserConfiguration.setEscalateParsingErrors(boolean)
has to be set to true for this behavior. Otherwise the parser escalates the occurring AFPParserException to AFPParser.error(AFPParserException).StructuredFieldBaseData.getData() returns the gross payload, this is the SF's data,
including padding data. The StructuredField.getPadding() returns
null.data| Constructor and Description |
|---|
StructuredFieldErrornouslyBuilt() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCausingException()
Returns the exception that happened when the parser tried to build this
StructuredFieldErrornouslyBuilt |
void |
setCausingException(java.lang.Throwable causingException) |
decodeAFP, getData, setData, writeAFPcheckDataLength, getActualLength, getPadding, getStructuredFieldIntroducer, isBeginSF, isEndSF, isShallow, setPadding, setStructuredFieldIntroducer, toString, writeFullStructuredFieldpublic java.lang.Throwable getCausingException()
StructuredFieldErrornouslyBuiltpublic void setCausingException(java.lang.Throwable causingException)