public interface ConversionStack
A ConversionStack contains the diagnostics of applying a ConversionPath to an Object.
Modifier and Type | Interface and Description |
---|---|
static interface |
ConversionStack.Element
Holds information about a paticular element in the stack.
|
Modifier and Type | Method and Description |
---|---|
ConversionPath<?,?> |
getConversionPath()
Get the original ConversionPath that create this ConversionStack.
|
ConversionStack.Element |
getElement(int index)
Get stack element info.
|
int |
getFailedElementIndex()
The index of the element at which conversion failed.
|
java.lang.String |
getStackTrace()
Get the StackTrace as a Sring.
|
void |
printStack(java.io.PrintStream out)
Print the stack trace to a PrintStream.
|
int |
size()
The size of the stack.
|
ConversionPath<?,?> getConversionPath()
int size()
ConversionStack.Element getElement(int index)
index
- The 0 based index.void printStack(java.io.PrintStream out)
out
- java.lang.String getStackTrace()
int getFailedElementIndex()