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. SeeNestedRuntimeException
for more usage details.- Author:
- Soby Chacko
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProvisioningException(String msg)
Constructor 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, getMessage, getMostSpecificCause, getRootCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProvisioningException
public ProvisioningException(String msg)
Constructor that takes a message.- Parameters:
msg
- the detail message
-
-