Package org.biojava.utils
Class ProcessTimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.biojava.utils.ProcessTimeoutException
-
- All Implemented Interfaces:
Serializable
public class ProcessTimeoutException extends Exception
Exception which is thrown if a child process managed byProcessTools
exceeds a specified time limit. Generally indicates that the results should not be trusted!- Since:
- 1.4
- Author:
- Thomas Down
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessTimeoutException(int rc)
ProcessTimeoutException(int rc, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getReturnCode()
Get the return code from the dying child process.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProcessTimeoutException
public ProcessTimeoutException(int rc)
-
ProcessTimeoutException
public ProcessTimeoutException(int rc, String message)
-
-
Method Detail
-
getReturnCode
public int getReturnCode()
Get the return code from the dying child process.
-
-