com.genesyslab.omsdk.mil.exception
Class MILIllegalMediaException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.genesyslab.omsdk.commons.exception.OMSDKException
              extended bycom.genesyslab.omsdk.mil.exception.MILBaseException
                  extended bycom.genesyslab.omsdk.mil.exception.MILRequestFailedException
                      extended bycom.genesyslab.omsdk.mil.exception.MILIllegalMediaException
All Implemented Interfaces:
java.io.Serializable

public class MILIllegalMediaException
extends MILRequestFailedException

Exception thrown when submitting an interaction with a Genesys media type, that is, email or chat.

Since:
7.1.000.00
See Also:
Serialized Form

Constructor Summary
MILIllegalMediaException(java.lang.String message, java.lang.Exception cause, java.lang.String mediaType)
           
MILIllegalMediaException(java.lang.String message, java.lang.String mediaType)
           
 
Method Summary
 java.lang.String getMediaType()
          Returns media type wich caused the exception
 
Methods inherited from class com.genesyslab.omsdk.commons.exception.OMSDKException
getExceptionCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MILIllegalMediaException

public MILIllegalMediaException(java.lang.String message,
                                java.lang.String mediaType)

MILIllegalMediaException

public MILIllegalMediaException(java.lang.String message,
                                java.lang.Exception cause,
                                java.lang.String mediaType)
Method Detail

getMediaType

public java.lang.String getMediaType()
Returns media type wich caused the exception

Returns:
media type wich caused the exception