compbio.metadata
Class LimitExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
compbio.metadata.JobSubmissionException
compbio.metadata.LimitExceededException
- All Implemented Interfaces:
- java.io.Serializable
public class LimitExceededException
- extends JobSubmissionException
Thrown if the task larger in size that the limit that applies to the
calculation.
- Author:
- pvtroshin
Date February 2010
- See Also:
Limit
,
Serialized Form
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LimitExceededException
public LimitExceededException(java.lang.String message)
newLimitExceeded
public static LimitExceededException newLimitExceeded(Limit<?> limit,
java.util.List<FastaSequence> seqs)
getNumberOfSequencesAllowed
public int getNumberOfSequencesAllowed()
getActualNumberofSequences
public int getActualNumberofSequences()
getSequenceLenghtAllowed
public int getSequenceLenghtAllowed()
getSequenceLenghtActual
public int getSequenceLenghtActual()