1 // Copyright 2008 Google Inc. All Rights Reserved.
3 package com
.google
.appengine
.tools
.admin
;
6 * Received by an {@link UpdateListener}. This event indicates that an
10 public class UpdateFailureEvent
{
12 private String failureMessage
;
13 private Throwable cause
;
14 private final String details
;
16 public UpdateFailureEvent(Throwable cause
, String failureMessage
, String details
) {
17 this.failureMessage
= failureMessage
;
19 this.details
= details
;
23 * Returns the failure message for the operation.
25 * @return a not {@code null} message.
27 public String
getFailureMessage() {
28 return failureMessage
;
32 * Returns the cause, if any, for the operation failure.
34 * @return a {@link Throwable}, or {@code null}.
36 public Throwable
getCause() {
41 * Returns the detailed output from the operation process.
43 public String
getDetails() {