org.getopt.luke
Class LimitedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.getopt.luke.LimitedException
All Implemented Interfaces:
java.io.Serializable

public class LimitedException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
LimitedException(int limitType, long limitSize, long currentSize, int lastDoc)
           
 
Method Summary
 long getCurrentSize()
           
 int getLastDoc()
           
 long getLimitSize()
           
 int getLimitType()
           
 void setCurrentSize(long currentSize)
           
 void setLastDoc(int lastDoc)
           
 void setLimitSize(long limitSize)
           
 void setLimitType(int limitType)
           
 
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

LimitedException

public LimitedException(int limitType,
                        long limitSize,
                        long currentSize,
                        int lastDoc)
Method Detail

getLimitType

public int getLimitType()
Returns:
the limitType

setLimitType

public void setLimitType(int limitType)
Parameters:
limitType - the limitType to set

getLimitSize

public long getLimitSize()
Returns:
the limitSize

setLimitSize

public void setLimitSize(long limitSize)
Parameters:
limitSize - the limitSize to set

getCurrentSize

public long getCurrentSize()
Returns:
the currentSize

setCurrentSize

public void setCurrentSize(long currentSize)
Parameters:
currentSize - the currentSize to set

getLastDoc

public int getLastDoc()
Returns:
the lastDoc

setLastDoc

public void setLastDoc(int lastDoc)
Parameters:
lastDoc - the lastDoc to set