Class ProvisioningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.cloud.stream.provisioning.ProvisioningException
- All Implemented Interfaces:
Serializable
public class ProvisioningException
extends org.springframework.core.NestedRuntimeException
Generic unchecked exception to wrap middleware or technology specific exceptions.
Wrapped exceptions could be either checked or unchecked.
See
NestedRuntimeException
for more usage details.- Author:
- Soby Chacko
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor that takes a message.ProvisioningException
(String msg, Throwable cause) Constructor that takes a message and a root cause. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProvisioningException
Constructor that takes a message.- Parameters:
msg
- the detail message
-
ProvisioningException
Constructor that takes a message and a root cause.- Parameters:
msg
- the detail messagecause
- the cause of the exception. This argument is generally expected to be middleware specific.
-