net.sf.eclipseexeditor.textfilter
Class FilterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.sf.eclipseexeditor.textfilter.FilterException
All Implemented Interfaces:
Serializable

public class FilterException
extends Exception

Indicates an exception occurred executing a filter or reading the output of a filter.

Author:
David Biesack David.Biesack@mindspring.com
See Also:
Serialized Form

Constructor Summary
FilterException(String command, int rc, Throwable cause)
          Construct a new instance of the FilterException class
FilterException(String command, String message, Throwable cause)
          Construct a new FilterException
 
Method Summary
 String getCommand()
          Return the value of the command property.
 String getMessage()
           
 int getReturnCode()
          Return the system return code from running the process.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterException

public FilterException(String command,
                       String message,
                       Throwable cause)
Construct a new FilterException

Parameters:
command - the command that was executed
message - the exception text
cause - a root cause exception/throwable

FilterException

public FilterException(String command,
                       int rc,
                       Throwable cause)
Construct a new instance of the FilterException class

Parameters:
command - the command that was executed
rc - the return code from executing a command
cause - the root cause
Method Detail

getCommand

public String getCommand()
Return the value of the command property.

Returns:
the value of the command property.

getMessage

public String getMessage()

getReturnCode

public int getReturnCode()
Return the system return code from running the process.

Returns:
the system return code from running the process.