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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceException(String path, Exception cause)
Create exception with original cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPath()
The resource path causing exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getPath
public String getPath()
The resource path causing exception.- Returns:
- Resource path.
-
-