|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.dasein.cloud.CloudException
public class CloudException
Represents some kind of failure with the cloud provider or with the format of a request to the cloud provider.
The Dasein Cloud API divides exceptional conditions into two groups: cloud exceptions and internal exception. A cloud exception is simply an error that occurs in the cloud, whereas an internal exception is one that occurs on the localhost within the implementation of this API for a particular provider. This distinction can help clients determine how to recover from any given error.
| Constructor Summary | |
|---|---|
CloudException()
Constructs an unlabeled exception. |
|
CloudException(String msg)
Constructs a cloud exception with a specific error message. |
|
CloudException(Throwable cause)
Constructs a cloud exception in response to a specific cause. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CloudException()
public CloudException(String msg)
msg - the message for the error that occurredpublic CloudException(Throwable cause)
cause - the error that caused this exception to be thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2009 enStratus Networks LLC – Available under the terms of the Artistic License 2.0.