|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jplate.JPlateException
org.jplate.foundation.FoundationException
org.jplate.foundation.gof.GOFException
org.jplate.foundation.gof.builder.BuildException
org.jplate.foundation.parser.JPlateBuildingException
org.jplate.tabular.parser.FieldCountMismatchException
public class FieldCountMismatchException
Thrown when the field count is greater than the maximum number of fields.
Modifications: $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $ $Revision: 479 $ $Author: sfloess $ $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/tabular/parser/FieldCountMismatchException.java $
Field Summary | |
---|---|
private int |
_fieldNumber
|
private int |
_maxFields
|
Constructor Summary | |
---|---|
FieldCountMismatchException()
Default constructor. |
|
FieldCountMismatchException(int maxFields,
int fieldNumber)
|
|
FieldCountMismatchException(java.lang.String msg)
This constructor sets the message. |
|
FieldCountMismatchException(java.lang.String msg,
int maxFields,
int fieldNumber)
|
|
FieldCountMismatchException(java.lang.String msg,
java.lang.Throwable rootCause)
This constructor sets the message and root cause. |
|
FieldCountMismatchException(java.lang.String msg,
java.lang.Throwable rootCause,
int maxFields,
int fieldNumber)
|
|
FieldCountMismatchException(java.lang.Throwable rootCause)
This constructor sets the root cause and the node that caused self to be raised. |
|
FieldCountMismatchException(java.lang.Throwable rootCause,
int maxFields,
int fieldNumber)
|
Method Summary | |
---|---|
private static java.lang.String |
computeMsg(int maxFields,
int fieldNumber)
|
int |
getFieldNumber()
Returns the current field number when self was raised. |
int |
getMaxFields()
Returns the maximum number of fields when self was raised. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int _maxFields
private int _fieldNumber
Constructor Detail |
---|
public FieldCountMismatchException()
public FieldCountMismatchException(int maxFields, int fieldNumber)
public FieldCountMismatchException(java.lang.String msg, int maxFields, int fieldNumber)
public FieldCountMismatchException(java.lang.String msg)
msg
- represents a message about why self was raised.public FieldCountMismatchException(java.lang.Throwable rootCause, int maxFields, int fieldNumber)
public FieldCountMismatchException(java.lang.Throwable rootCause)
rootCause
- represents the exception that caused self to be raised.public FieldCountMismatchException(java.lang.String msg, java.lang.Throwable rootCause, int maxFields, int fieldNumber)
public FieldCountMismatchException(java.lang.String msg, java.lang.Throwable rootCause)
msg
- represents a message about why self was raised.rootCause
- represents the exception that caused self to be raised.Method Detail |
---|
private static java.lang.String computeMsg(int maxFields, int fieldNumber)
public int getMaxFields()
public int getFieldNumber()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |