AS2Secure
[ class tree: AS2Secure ] [ index: AS2Secure ] [ all elements ]

Class: AS2Exception

Source Location: /AS2Exception.php

Class Overview

Exception
   |
   --AS2Exception

AS2Secure - PHP Lib for AS2 message encoding / decoding


Author(s):

Version:

  • 0.9.0

Copyright:

  • Copyright (c) 2010, Sebastien MALOT

    Last release at : http://www.as2secure.com

    This file is part of AS2Secure Project.

    AS2Secure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    AS2Secure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with AS2Secure.

Variables

Constants

Methods


Inherited Variables

Class: Exception (Internal Class)

$code
$file
$line
$message
$string
$trace

Inherited Methods

Class: Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )

Class Details

[line 32]
AS2Secure - PHP Lib for AS2 message encoding / decoding



Tags:

author:  Sebastien MALOT <contact@as2secure.com>
version:  0.9.0
copyright:  

Copyright (c) 2010, Sebastien MALOT

Last release at : http://www.as2secure.com

This file is part of AS2Secure Project.

AS2Secure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

AS2Secure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with AS2Secure.

license:  GNU General Public License


[ Top ]


Class Variables

static $level_error = array(
        1 => 'authentication-failed',         // the receiver could not authenticate the sender
        2 => 'decompression-failed',          // 
        3 => 'decryption-failed',             // the receiver could not decrypt the message contents
        4 => 'insufficient-message-security', // 
        5 => 'integrity-check-failed',        // the receiver could not verify content integrity
        6 => 'unexpected-processing-error',   // a catch-all for any additional processing errors
    )

[line 42]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $level_failure = array(
        101 => 'unsupported format',          // sha1, md5
        102 => 'unsupported MIC-algorithms',  // 
    )

[line 51]



Tags:

access:  protected

Type:   mixed


[ Top ]

static $level_warning = array(
        201 => 'duplicate-document',          // an identical message already exists at the destination server
        202 => 'sender-equals-receiver',      // the AS2-To name is identical to the AS2-From name
    )

[line 56]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 65]

AS2Exception __construct( [ $message = ''], [ $code = self::DEFAULT_ERROR], [ $previous = null])



Tags:

access:  public


Overrides Exception::constructor __construct ( [$message = ], [$code = ] ) (parent method not documented)

Parameters:

   $message  
   $code  
   $previous  

[ Top ]

method getLevel [line 74]

void getLevel( )



Tags:

access:  public


[ Top ]

method getMessageShort [line 82]

void getMessageShort( )



Tags:

access:  public


[ Top ]


Class Constants

DEFAULT_ERROR =  6

[line 61]


[ Top ]

STATUS_ERROR =  'error'

[line 38]

Refers to RFC 4130

http://rfclibrary.hosting.com/rfc/rfc4130/rfc4130-34.asp



[ Top ]

STATUS_FAILURE =  'failure'

[line 39]


[ Top ]

STATUS_WARNING =  'warning'

[line 40]


[ Top ]



Documentation generated on Wed, 03 Nov 2010 22:51:30 +0100 by phpDocumentor 1.4.3