de.espirit.firstspirit.access.store.mediastore
Class UploadRejectedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.espirit.firstspirit.client.common.locale.LocalizableRuntimeException
                  extended by de.espirit.firstspirit.access.store.mediastore.UploadRejectedException
All Implemented Interfaces:
de.espirit.firstspirit.client.common.locale.Localizable, Serializable
Direct Known Subclasses:
MediaConstraintsException

public class UploadRejectedException
extends de.espirit.firstspirit.client.common.locale.LocalizableRuntimeException

This exception indicates a media insertion/upload into the repository has been rejected.

Since:
4.1
See Also:
Serialized Form

Constructor Summary
UploadRejectedException(String message)
          Create a new exception instance.
UploadRejectedException(String message, Throwable cause)
          Create a new exception instance.
 
Method Summary
 IDProvider getStoreElement()
          Returns the @{link IDProvider} where the upload has been rejected.
 void setStoreElement(IDProvider storeElement)
          Set set upload rejecting @{link IDProvider}.
 
Methods inherited from class de.espirit.firstspirit.client.common.locale.LocalizableRuntimeException
getDescriptor, getException, getHeadline, getMessage, isRecoverable, setHeadline, setRecoverable, toFormattedString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UploadRejectedException

public UploadRejectedException(@NotNull
                               String message)
Create a new exception instance. This exception indicates a media insertion/upload into the repository has been rejected.

Parameters:
message - a meaningful cause why rejecting this upload
Since:
4.1

UploadRejectedException

public UploadRejectedException(@NotNull
                               String message,
                               @Nullable
                               Throwable cause)
Create a new exception instance. This exception indicates a media insertion/upload into the repository has been rejected.

Parameters:
message - a meaningful cause why rejecting this upload
cause - an optional encapsulated exception
Since:
4.1
Method Detail

getStoreElement

public IDProvider getStoreElement()
Returns the @{link IDProvider} where the upload has been rejected. the element where the exception has been appeared.

Returns:
IDProvider the exception assigned StoreElement
Since:
4.1

setStoreElement

public void setStoreElement(@NotNull
                            IDProvider storeElement)
Set set upload rejecting @{link IDProvider}. The element where the exception has been appeared

Parameters:
storeElement - the exception assigned StoreElement
Since:
4.1


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480