org.im4java.core
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.im4java.core.IM4JavaException
              extended by org.im4java.core.CommandException
All Implemented Interfaces:
java.io.Serializable

public class CommandException
extends IM4JavaException

This class wraps exceptions during image-attribute retrivial.

Version:
$Revision: 1.2 $
Author:
$Author: bablokb, Bruno Mascret (warnings) $
See Also:
Serialized Form

Field Summary
private  java.util.ArrayList<java.lang.String> iErrorText
          The stderr-output of the command.
private static long serialVersionUID
          For the Serialization (not used)
 
Constructor Summary
CommandException()
          Constructor.
CommandException(java.lang.String pMessage)
          Constructor.
CommandException(java.lang.String pMessage, java.lang.Throwable pCause)
          Constructor.
CommandException(java.lang.Throwable pCause)
          Constructor.
 
Method Summary
 java.util.ArrayList<java.lang.String> getErrorText()
          Return the error-text object.
 void setErrorText(java.util.ArrayList<java.lang.String> pErrorText)
          Set the error text of this exception.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
For the Serialization (not used)

See Also:
Constant Field Values

iErrorText

private java.util.ArrayList<java.lang.String> iErrorText
The stderr-output of the command.

Constructor Detail

CommandException

public CommandException()
Constructor.


CommandException

public CommandException(java.lang.String pMessage)
Constructor.

Parameters:
pMessage - the Exception message

CommandException

public CommandException(java.lang.String pMessage,
                        java.lang.Throwable pCause)
Constructor.

Parameters:
pCause - the Exception cause
pMessage - the Exception message

CommandException

public CommandException(java.lang.Throwable pCause)
Constructor.

Parameters:
pCause - the Exception cause
Method Detail

getErrorText

public java.util.ArrayList<java.lang.String> getErrorText()
Return the error-text object.

Returns:
the error-text object.

setErrorText

public void setErrorText(java.util.ArrayList<java.lang.String> pErrorText)
Set the error text of this exception.

Parameters:
pErrorText - the error text of this exception