Package com.pulumi.exceptions
Class ResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pulumi.exceptions.ResourceException
- All Implemented Interfaces:
Serializable
ResourceException can be used for terminating a program abruptly, specifically associating the
problem with a Resource. Depending on the nature of the problem, clients can choose whether
or not a call stack should be returned as well. This should be very rare, and would only
indicate no usefulness of presenting that stack to the user.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceException(boolean hideStack) ResourceException(Resource resource) ResourceException(Resource resource, boolean hideStack) ResourceException(String message) ResourceException(String message, Resource resource) ResourceException(String message, Resource resource, boolean hideStack) ResourceException(String message, Throwable cause) ResourceException(String message, Throwable cause, Resource resource) ResourceException(String message, Throwable cause, Resource resource, boolean hideStack) ResourceException(Throwable cause) ResourceException(Throwable cause, Resource resource) ResourceException(Throwable cause, Resource resource, boolean hideStack) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceException
public ResourceException() -
ResourceException
public ResourceException(boolean hideStack) -
ResourceException
-
ResourceException
-
ResourceException
-
ResourceException
-
ResourceException
-
ResourceException
-
ResourceException
-
ResourceException
-
ResourceException
-
ResourceException
-
ResourceException
-
-
Method Details
-
getResource
-
isHideStack
public boolean isHideStack()
-