compbio.metadata
Class LimitExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
compbio.metadata.JobSubmissionException
compbio.metadata.LimitExceededException
- All Implemented Interfaces:
- Serializable
public class LimitExceededException
- extends JobSubmissionException
This exception is thrown if the task larger in size that the limit that
applies to the calculation.
- Version:
- 1.0 February 2010
- Author:
- pvtroshin
- See Also:
Limit
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
LimitExceededException
public LimitExceededException(String message)
newLimitExceeded
public static LimitExceededException newLimitExceeded(Limit<?> limit,
List<FastaSequence> seqs)
getNumberOfSequencesAllowed
public int getNumberOfSequencesAllowed()
getActualNumberofSequences
public int getActualNumberofSequences()
getSequenceLenghtAllowed
public int getSequenceLenghtAllowed()
getSequenceLenghtActual
public int getSequenceLenghtActual()