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
Error thrown when an error occurred when dealing with resources.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceException
(String path, Exception cause) Create exception with original cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceException
Create exception with original cause.- Parameters:
path
- The path of the resource that cannot be loaded.cause
- The original cause.
-
-
Method Details
-
getPath
The resource path causing exception.- Returns:
- Resource path.
-