Package africa.absa.inception.core.util
Class ResourceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- africa.absa.inception.core.util.ResourceException
-
- All Implemented Interfaces:
Serializable
public class ResourceException extends RuntimeException
The ResourceException exception is thrown to indicate an error when working with resources.- Author:
- Marcus Portmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceException()Constructs a new ResourceException with null as its message.ResourceException(String message)Constructs a new ResourceException with the specified message.ResourceException(String message, Throwable cause)Constructs a new ResourceException with the specified message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ResourceException
public ResourceException()
Constructs a new ResourceException with null as its message.
-
ResourceException
public ResourceException(String message)
Constructs a new ResourceException with the specified message.- Parameters:
message- The message saved for later retrieval by the getMessage() method.
-
ResourceException
public ResourceException(String message, Throwable cause)
Constructs a new ResourceException with the specified message and cause.- Parameters:
message- The message saved for later retrieval by the getMessage() method.cause- The cause saved for later retrieval by the getCause() method. (A null value is permitted if the cause is nonexistent or unknown)
-
-