The im4java Library, Version 1.4.0

org.im4java.utils
Class BatchConverter.ConvertException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.im4java.utils.BatchConverter.ConvertException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
BatchConverter

public class BatchConverter.ConvertException
extends java.lang.Exception

This nested exception wraps the original exception of failed conversions. It has a field with the index of the image causing the failure.

See Also:
Serialized Form

Constructor Summary
BatchConverter.ConvertException(int pIndex, java.lang.Exception pCause)
          The constructor.
 
Method Summary
 int getIndex()
          Query the index of the image causing the falure.
 
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

BatchConverter.ConvertException

public BatchConverter.ConvertException(int pIndex,
                                       java.lang.Exception pCause)
The constructor.

Parameters:
pIndex - The index causing the failure
pCause - The original exception
Method Detail

getIndex

public int getIndex()
Query the index of the image causing the falure.

Returns:
The index of the image causing the failure

The im4java Library, Version 1.4.0

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