// File: /include/js/Shared/Messages/Exceptions.js
// Desc: message exceptions
// $Revision: 13$
// $Date: 5/14/2007 12:10:35 PM$
// $Author: Donnie Tognazzini$
// $NoKeywords$

function MSG_EX_FailedCreatingRegisterAccountResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingRegisterAccountResponse' ) );
    this.Nest( exception );
}

function MSG_EX_FailedCreatingGetCallsResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingGetCallsResponse' ) );
    this.Nest( exception );
}

function MSG_EX_FailedCreatingSetCarrierInfoResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingSetCarrierInfoResponse' ) );
    this.Nest( exception );
}

function MSG_EX_FailedCreatingActivateAccountResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingActivateAccountResponse' ) );
    this.Nest( exception );
}

function MSG_EX_FailedCreatingGetAccountInfoResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingGetAccountInfoResponse' ) );
    this.Nest( exception );
}

function MSG_EX_FailedCreatingAuthenticateResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingAuthenticateResponse' ) );
    this.Nest( exception );
}

function MSG_EX_FailedCreatingForgotPinResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingForgotPinResponse' ) );
    this.Nest( exception );
}

function MSG_EX_FailedCreatingGetCallsResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingGetCallsResponse' ) );
    this.Nest( exception );
}

function MSG_EX_FailedCreatingVerifyPhoneResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingVerifyPhoneResponse' ) );
    this.Nest( exception );
}

function MSG_EX_FailedCreatingSendSMSResponse( exception )
{
    EXT_extend( this, new CWError( 'MSG_EX_FailedCreatingSendSMSResponse' ) );
    this.Nest( exception );
}

function MSG_EX_WrongMessageType( type, expectedType )
{
    EXT_extend( this, new CWError( 'MSG_EX_WrongMessageType', type + ' Expected := ' + expectedType ) );
}

function MSG_EX_EmptyResponse( )
{
    EXT_extend( this, new CWError( 'MSG_EX_EmptyResponse' ) );
}
