public class UploadRejectedException extends RuntimeException
Constructor and Description |
---|
UploadRejectedException(String message)
Create a new exception instance with the given message.
|
UploadRejectedException(String message,
Throwable cause)
Create a new exception instance with the given message and cause.
|
Modifier and Type | Method and Description |
---|---|
IDProvider |
getStoreElement()
Returns the @{link IDProvider} where the upload has been rejected. the element where the exception has been appeared.
|
void |
setStoreElement(IDProvider storeElement)
Set upload rejecting @{link IDProvider}.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UploadRejectedException(@NotNull String message)
message
- A meaningful reason, why the upload was rejected.public UploadRejectedException(@NotNull String message, @Nullable Throwable cause)
message
- A meaningful reason, why the upload was rejected.cause
- An optional encapsulated exception containing the original cause.public IDProvider getStoreElement()
public void setStoreElement(@NotNull IDProvider storeElement)
storeElement
- the exception assigned StoreElementCopyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210