public class UnmappableOutput extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
UnmappableOutput.ErrorCode
Represents an error code of
UnmappableOutput. |
| Constructor and Description |
|---|
UnmappableOutput(UnmappableOutput.ErrorCode errorCode,
int fieldIndex,
String sequence)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
UnmappableOutput.ErrorCode |
getErrorCode()
Returns the error code.
|
int |
getFieldIndex()
Returns the field index where this error was occurred.
|
String |
getReason()
Returns the textual reason of this error.
|
String |
getSequence()
Returns the erroneous sequence.
|
String |
toString() |
public UnmappableOutput(UnmappableOutput.ErrorCode errorCode, int fieldIndex, String sequence)
errorCode - the error codefieldIndex - the 0-origin field index where this error was occurredsequence - the erroneous sequence (nullable)public UnmappableOutput.ErrorCode getErrorCode()
public int getFieldIndex()
public String getSequence()
null if it is not definedpublic String getReason()
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.