The im4java Library, Version 1.4.0

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.

Since:
0.95
Version:
$Revision: 1.4 $
Author:
$Author: bablokb $
See Also:
Serialized Form

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.
 int getReturnCode()
          Return the return-code of the failing command.
 void setErrorText(java.util.ArrayList<java.lang.String> pErrorText)
          Set the error text of this exception.
 void setReturnCode(int pReturnCode)
          Set the return-code of the failing command.
 
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
 

Constructor Detail

CommandException

public CommandException()
Constructor.


CommandException

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


CommandException

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


CommandException

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

Method Detail

getErrorText

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


setErrorText

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

Parameters:
pErrorText -

getReturnCode

public int getReturnCode()
Return the return-code of the failing command.

Since:
1.1.1

setReturnCode

public void setReturnCode(int pReturnCode)
Set the return-code of the failing command.

Parameters:
pReturnCode -
Since:
1.1.1

The im4java Library, Version 1.4.0

Released under the LGPL, (c) Bernhard Bablok 2008-2010
Homepage: http://im4java.sourceforge.net/