com.adobe.connectpro.telephony.adaptor
Class ValidateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.adobe.connectpro.telephony.adaptor.AdaptorException
              extended by com.adobe.connectpro.telephony.adaptor.ValidateException
All Implemented Interfaces:
java.io.Serializable

public class ValidateException
extends AdaptorException

Exception thrown when the adaptor fails to validate the telephony profile information

See Also:
Serialized Form

Constructor Summary
ValidateException(FailureCode errorCode)
          Creates new exception instance.
ValidateException(FailureCode errorCode, java.lang.String message)
          Creates new exception instance.
ValidateException(FailureCode errorCode, java.lang.String message, java.lang.Throwable cause)
          Creates new exception instance.
 
Method Summary
 java.util.List<java.lang.String> getInvalidFields()
          Gets the list of field IDs that are not valid.
 void setInvalidFields(java.util.List<java.lang.String> invalidFields)
          Sets the list of field IDs that are not valid.
 
Methods inherited from class com.adobe.connectpro.telephony.adaptor.AdaptorException
getErrorCode, setErrorCode
 
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

ValidateException

public ValidateException(FailureCode errorCode)
Creates new exception instance.

Parameters:
errorCode - Error code indicating exact cause of this exception.

ValidateException

public ValidateException(FailureCode errorCode,
                         java.lang.String message)
Creates new exception instance.

Parameters:
message - Exception message used for logging or debugging
errorCode - Error code indicating exact cause of this exception.

ValidateException

public ValidateException(FailureCode errorCode,
                         java.lang.String message,
                         java.lang.Throwable cause)
Creates new exception instance.

Parameters:
message - Exception message used for logging or debugging.
cause - Reason the exception was thrown.
errorCode - Error code indicating exact cause of this exception.
Method Detail

getInvalidFields

public java.util.List<java.lang.String> getInvalidFields()
Gets the list of field IDs that are not valid.


setInvalidFields

public void setInvalidFields(java.util.List<java.lang.String> invalidFields)
Sets the list of field IDs that are not valid.