org.jclouds.gogrid.domain.internal
Class ErrorResponse

java.lang.Object
  extended by org.jclouds.gogrid.domain.internal.ErrorResponse
All Implemented Interfaces:
Comparable<ErrorResponse>

public class ErrorResponse
extends Object
implements Comparable<ErrorResponse>

Author:
Oleksiy Yarmula

Constructor Summary
ErrorResponse()
          A no-args constructor is required for deserialization
ErrorResponse(String message, String errorCode)
           
 
Method Summary
 int compareTo(ErrorResponse o)
           
 String getErrorCode()
           
 String getMessage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ErrorResponse

public ErrorResponse()
A no-args constructor is required for deserialization


ErrorResponse

public ErrorResponse(String message,
                     String errorCode)
Method Detail

getMessage

public String getMessage()

getErrorCode

public String getErrorCode()

compareTo

public int compareTo(ErrorResponse o)
Specified by:
compareTo in interface Comparable<ErrorResponse>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.