java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.base.resource.ResourceException
io.inverno.mod.base.resource.NotWritableResourceException
- All Implemented Interfaces:
Serializable
Thrown when trying to write to a resource that is not writable.
- Since:
- 1.8
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a not writable resource exception.NotWritableResourceException
(String message) Creates a not writable resource exception with the specified message.NotWritableResourceException
(String message, Throwable cause) Creates a not writable resource exception with the specified message and cause.NotWritableResourceException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a not writable resource exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.Creates a not writable resource exception with the specified 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
-
NotWritableResourceException
public NotWritableResourceException()Creates a not writable resource exception.
-
NotWritableResourceException
Creates a not writable resource exception with the specified message.
- Parameters:
message
- the message
-
NotWritableResourceException
Creates a not writable resource exception with the specified cause.
- Parameters:
cause
- the cause
-
NotWritableResourceException
Creates a not writable resource exception with the specified message and cause.
- Parameters:
message
- the messagecause
- the cause
-
NotWritableResourceException
public NotWritableResourceException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a not writable resource exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- Parameters:
message
- the messagecause
- the causeenableSuppression
- true to enable suppression, false otherwisewritableStackTrace
- true to make the stack trace writable, false otherwise
-