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

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
                      extended by de.espirit.firstspirit.store.access.mediastore.MediaConstraintsException
All Implemented Interfaces:
de.espirit.firstspirit.client.common.locale.Localizable, Serializable

public class MediaConstraintsException
extends UploadRejectedException

This Exception will be thrown if a media constraint setting is violated.

See Also:
Serialized Form

Nested Class Summary
static class MediaConstraintsException.EXCEPTION_VARIANT
           
 
Constructor Summary
protected MediaConstraintsException(String descriptor)
           
  MediaConstraintsException(String descriptor, Map<String,String> params)
           
  MediaConstraintsException(String descriptor, Map<String,String> params, MediaConstraintsException.EXCEPTION_VARIANT type)
           
 
Method Summary
 MediaConstraintsException.EXCEPTION_VARIANT getExceptionType()
           
 String getFallbackMessage()
           
static Map<String,String> getHumanReadableSize(Map<String,String> params)
           
 Map<String,String> getParams()
           
 
Methods inherited from class de.espirit.firstspirit.access.store.mediastore.UploadRejectedException
getStoreElement, setStoreElement
 
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

MediaConstraintsException

protected MediaConstraintsException(String descriptor)

MediaConstraintsException

public MediaConstraintsException(String descriptor,
                                 Map<String,String> params)

MediaConstraintsException

public MediaConstraintsException(String descriptor,
                                 Map<String,String> params,
                                 MediaConstraintsException.EXCEPTION_VARIANT type)
Method Detail

getHumanReadableSize

public static Map<String,String> getHumanReadableSize(Map<String,String> params)

getExceptionType

public MediaConstraintsException.EXCEPTION_VARIANT getExceptionType()

getParams

public Map<String,String> getParams()

getFallbackMessage

public String getFallbackMessage()


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