org.getopt.luke
Class LimitedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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)
|
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 |
LimitedException
public LimitedException(int limitType,
long limitSize,
long currentSize,
int lastDoc)
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