org.jclouds.savvis.vpdc.domain
Class TaskError
java.lang.Object
org.jclouds.savvis.vpdc.domain.TaskError
public class TaskError
- extends Object
- Author:
- Adrian Cole
Constructor Summary |
TaskError(String message,
int majorErrorCode,
int minorErrorCode,
String vendorSpecificErrorCode)
|
TaskError
public TaskError(String message,
int majorErrorCode,
int minorErrorCode,
@Nullable
String vendorSpecificErrorCode)
builder
public static TaskError.Builder builder()
getMessage
public String getMessage()
- Returns:
- message describing the error
getMajorErrorCode
public int getMajorErrorCode()
- Returns:
- matches the HTTP status code
getMinorErrorCode
public int getMinorErrorCode()
- Returns:
- matches the minor code, typically -1
getVendorSpecificErrorCode
@Nullable
public String getVendorSpecificErrorCode()
- Returns:
- optional additional information about the source of the error
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-2011 jclouds. All Rights Reserved.