org.jclouds.googlecomputeengine.domain
Class Operation.Error

java.lang.Object
  extended by org.jclouds.googlecomputeengine.domain.Operation.Error
Enclosing class:
Operation

public static final class Operation.Error
extends Object

A particular error for an operation including the details.


Nested Class Summary
static class Operation.Error.Builder
           
 
Method Summary
static Operation.Error.Builder builder()
           
 boolean equals(Object obj)
          
 String getCode()
           
 com.google.common.base.Optional<String> getLocation()
           
 com.google.common.base.Optional<String> getMessage()
           
 int hashCode()
          
protected  com.google.common.base.Objects.ToStringHelper string()
          
 Operation.Error.Builder toBuilder()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getCode

public String getCode()
Returns:
the error type identifier for this error.

getLocation

public com.google.common.base.Optional<String> getLocation()
Returns:
indicates the field in the request which caused the error..

getMessage

public com.google.common.base.Optional<String> getMessage()
Returns:
an optional, human-readable error message.

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()


toString

public String toString()

Overrides:
toString in class Object

builder

public static Operation.Error.Builder builder()

toBuilder

public Operation.Error.Builder toBuilder()


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.