org.geotoolkit.process
Class ProcessException

Object
  extended by Throwable
      extended by Exception
          extended by ProcessException
All Implemented Interfaces:
Serializable

public class ProcessException
extends Exception

Thrown when a process failed.

Since:
3.19
Version:
3.19
Author:
Martin Desruisseaux (Geomatys)
See Also:
Serialized Form
Module:
utility/geotk-utility (download)    View source code for this class

Constructor Summary
ProcessException(String message, Process process, Throwable cause)
          Creates a new exception with the specified detail message and cause.
 
Method Summary
 Identifier getProcessIdentifier()
          Returns the identifier of the process that failed, or null if this information is not available.
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessException

public ProcessException(String message,
                        Process process,
                        Throwable cause)
Creates a new exception with the specified detail message and cause.

Parameters:
message - The details message, or null.
process - The process that failed, or null.
cause - The cause, or null.
Method Detail

getProcessIdentifier

public Identifier getProcessIdentifier()
Returns the identifier of the process that failed, or null if this information is not available.

Returns:
The identifier of the process that failed, or null.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.