org.gcube.data.tml.outcomes
Class UpdateTreeFailure

java.lang.Object
  extended by org.gcube.data.tml.outcomes.UpdateTreeFailure

public class UpdateTreeFailure
extends Object

A record of a failed Tree update.

Author:
Fabio Simeoni

Constructor Summary
UpdateTreeFailure(String identifier, Exception failure)
          Creates an instance with the identifier of a Tree and an Exception raised in the attempt to update it.
 
Method Summary
 Exception failure()
          Returns the exception raised when updating the tree.
 String identifier()
          Returns the identifier of the tree that could not be updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateTreeFailure

public UpdateTreeFailure(String identifier,
                         Exception failure)
Creates an instance with the identifier of a Tree and an Exception raised in the attempt to update it.

Parameters:
identifier - the identifier
failure - the exception
Method Detail

identifier

public String identifier()
Returns the identifier of the tree that could not be updated.

Returns:
the identifier

failure

public Exception failure()
Returns the exception raised when updating the tree.

Returns:
the exception


Copyright © 2012. All Rights Reserved.