org.jclouds.ultradns.ws
Class UltraDNSWSError

java.lang.Object
  extended by org.jclouds.ultradns.ws.UltraDNSWSError

public final class UltraDNSWSError
extends Object


Method Summary
 boolean equals(Object obj)
           
static UltraDNSWSError fromCodeAndDescription(int code, com.google.common.base.Optional<String> description)
           
 int getCode()
          The error code.
 com.google.common.base.Optional<String> getDescription()
          The description of the error.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

fromCodeAndDescription

public static UltraDNSWSError fromCodeAndDescription(int code,
                                                     com.google.common.base.Optional<String> description)

getCode

public int getCode()
The error code. ex 1801


getDescription

public com.google.common.base.Optional<String> getDescription()
The description of the error. ex Zone does not exist in the system.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


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