Class ResourceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.mjeanroy.dbunit.exception.ResourceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResourceNotFoundException, ResourceNotValidException

public class ResourceException extends RuntimeException
Error thrown when an error occurred when dealing with resources.
See Also:
  • Constructor Details

    • ResourceException

      public ResourceException(String path, Exception cause)
      Create exception with original cause.
      Parameters:
      path - The path of the resource that cannot be loaded.
      cause - The original cause.
  • Method Details

    • getPath

      public String getPath()
      The resource path causing exception.
      Returns:
      Resource path.