java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.tuneology.avm.ProcessException
- All Implemented Interfaces:
- java.io.Serializable
- public class ProcessException
- extends java.io.IOException
An exception for handling errors from external programs.
The error output contains raw SCSI info and so forth,
and as such it needs some skill to parse correctly
so we try to pick out a nice error message.
The entire original output is available
via getExtendedError().
- Version:
- $Id: ProcessException.java,v 1.1 2002/09/23 05:03:11 xnarf Exp $
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Throwable |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
extendedError
private java.lang.String extendedError
ProcessException
public ProcessException(java.lang.String err)
ProcessException
public ProcessException(java.lang.String errMsg,
java.lang.String err)
getExtendedError
public java.lang.String getExtendedError()
extractErrorMessage
private static java.lang.String extractErrorMessage(java.lang.String err)
- Figure out a nice error message
from all those SCSI errors and so forth.