Class TestResourcesResolutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.testresources.core.TestResourcesResolutionException
All Implemented Interfaces:
Serializable

public class TestResourcesResolutionException extends RuntimeException
An exception thrown whenever test resources was expected to resolve a property but couldn't.
See Also:
  • Constructor Details

    • TestResourcesResolutionException

      public TestResourcesResolutionException(Throwable cause)
    • TestResourcesResolutionException

      public TestResourcesResolutionException(String message, Throwable cause)
    • TestResourcesResolutionException

      public TestResourcesResolutionException(String message)
  • 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