org.springframework.batch.item.file.transform
Class IncorrectLineLengthException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.item.file.transform.FlatFileFormatException
                  extended by org.springframework.batch.item.file.transform.IncorrectLineLengthException
All Implemented Interfaces:
Serializable

public class IncorrectLineLengthException
extends FlatFileFormatException

Exception indicating that the line size expected is different from what is expected.

Since:
1.1
Author:
Lucas Ward
See Also:
Serialized Form

Constructor Summary
IncorrectLineLengthException(int expectedLength, int actualLength)
           
IncorrectLineLengthException(String message, int expectedLength, int actualLength)
           
 
Method Summary
 int getActualLength()
           
 int getExpectedLength()
           
 
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
 

Constructor Detail

IncorrectLineLengthException

public IncorrectLineLengthException(String message,
                                    int expectedLength,
                                    int actualLength)

IncorrectLineLengthException

public IncorrectLineLengthException(int expectedLength,
                                    int actualLength)
Method Detail

getActualLength

public int getActualLength()

getExpectedLength

public int getExpectedLength()


Copyright © 2009 SpringSource. All Rights Reserved.