Package io.micronaut.testresources.core
Class TestResourcesResolutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.testresources.core.TestResourcesResolutionException
- All Implemented Interfaces:
 Serializable
An exception thrown whenever test resources was expected to resolve
 a property but couldn't.
- See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionTestResourcesResolutionException(String message) TestResourcesResolutionException(String message, Throwable cause)  - 
Method Summary
Modifier and TypeMethodDescriptionReturns a TestResourcesResolutionException from an exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
TestResourcesResolutionException
 - 
TestResourcesResolutionException
 - 
TestResourcesResolutionException
 
 - 
 - 
Method Details
- 
wrap
Returns a TestResourcesResolutionException from an exception. If the type of the exception is already TestResourcesResolutionException then the same instance is returned, otherwise the exception is wrapped into TestResourcesResolutionException.- Parameters:
 ex- the exception- Returns:
 - a TestResourcesResolutionException
 
 
 -