Package io.awspring.cloud.sqs
Class UnsupportedThreadFactoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
io.awspring.cloud.sqs.UnsupportedThreadFactoryException
- All Implemented Interfaces:
Serializable
Exception thrown when an executor is provided with an unsupported
ThreadFactory
.
Currently, for improved performance, a MessageExecutionThreadFactory
is required.- Since:
- 3.0
- Author:
- Tomaz Fernandes
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an instance with the provided error message.UnsupportedThreadFactoryException
(String msg, Throwable cause) Create an instance with the provided error message and 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
-
UnsupportedThreadFactoryException
Create an instance with the provided error message.- Parameters:
msg
- the error message.
-
UnsupportedThreadFactoryException
Create an instance with the provided error message and cause.- Parameters:
msg
- the error message.cause
- the cause.
-