|
||||||||||
| 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.InternalException
public class InternalException
Represents a local failure in the implementation of this API. It could be a wrapper around an exception caught from a local method call or some other error situation that does not involve any trouble in the cloud.
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 | |
|---|---|
InternalException()
Constructs an empty internal exception with no message or context information. |
|
InternalException(String msg)
Constructs a local exception with the specified error message. |
|
InternalException(Throwable cause)
Constructs a local exception caused by the specified exception. |
|
| 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 InternalException()
public InternalException(String msg)
msg - a message indicating the nature of the exceptionpublic InternalException(Throwable cause)
cause - the underlying exception that caused this error condition to be raised
|
||||||||||
| 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.