Class TypeNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.day.commons.datasource.poolservice.TypeNotAvailableException
- All Implemented Interfaces:
Serializable
Indicates that the required type of data source
is not available.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTypeNotAvailableException(String reason) TypeNotAvailableException(String reason, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeNotAvailableExceptioncheckCompatible(Object o, Class<?> c, String info) Return a suitable TypeNotAvailableException if o cannot be converted toMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TypeNotAvailableException
-
TypeNotAvailableException
-
-
Method Details
-
checkCompatible
Return a suitable TypeNotAvailableException if o cannot be converted to
-