Package com.pulumi.exceptions
Class RunException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.pulumi.exceptions.RunException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Config.ConfigMissingException
,StackReference.KeyMissingException
public class RunException extends java.lang.RuntimeException
RunException can be used for terminating a program abruptly, but resulting in a clean exit rather than the usual verbose unhandled error logic which emits the source program text and complete stack trace.
This type should be rarely used.Ideally @see
ResourceException
should always be used so that as many errors as possible can be associated with a @seeResource
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RunException(java.lang.String message)
RunException(java.lang.String message, java.lang.Throwable cause)
-