Use this class to retrieve detailed information about a specific deployment failure, including the type of operation, the time the failure occurred, and the item that was the subject of the operation.
The class has the following API:
public boolean isError()public boolean isWarning()public RepositoryItem getSubject()public Throwable getCause()public String getStackTrace()public String getMessage()public Date getFailureTime()public String toString()
getSubject
public RepositoryItem getSubject()
Returns the repository item, either a repositoryMarker or a fileMarker, that is the subject of the failed operation. The item has the following common properties:
deploymentData– a reference to theDeploymentDatarepository item, which has source and destination string properties that are the paths to the Nucleus component, either a repository or a virtual file system, where the failed item exists.status– enumeration with valuesPending,Initiated,AddUpdateCommitted,ReferencesCommitted,Committed,Failure.action– enumeration with valuesAdd,Update, orDelete.deploymentId– the ID of the deployment with which this marker is associated.
repositoryMarkers have these additional properties:
itemDescriptorName– the name of the specific item type that is represented by thisDeploymentFailureobject.itemId– the repository ID of the item.
fileMarkers have these additional properties:
filePath– the path of the file that failed.
toString
public String toString()
Returns a String representation of this DeploymentFailure object.

