Class NarutoException

Description

This class defines the base execption for the API.

Located in /classes/narutoException.php (line 15)

Exception
   |
   --NarutoException
Method Summary
NarutoException NarutoException (string $message, string $code)
string getSecondaryCode ()
string getSecondarySource ()
void setSecondaryCode (string $secondaryCode)
void setSecondaryMessage (string $secondaryMessage)
void setSecondarySource (string $secondarySource)
string toString ()
Variables

Inherited Variables

Inherited from Exception (Internal Class)

$code
$file
$line
$message
$string
$trace
Methods
Constructor NarutoException (line 24)

Contructor.

  • access: public
NarutoException NarutoException (string $message, string $code)
  • string $message: the exception message.
  • string $code: the exception code
getSecondaryCode (line 44)

Gets the code from the secondary source of the exception.

  • return: code from the secondary source of the exception.
  • access: public
string getSecondaryCode ()
getSecondaryMessage (line 54)

Gets the message from the secondary source of the exception.

  • return: message from the secondary source of the exception.
  • access: public
string getSecondaryMessage ()
getSecondarySource (line 34)

Gets the secondary source of the exception.

  • return: the secondary source of the exception.
  • access: public
string getSecondarySource ()
setSecondaryCode (line 75)

Sets the code from the secondary source of the exception.

  • access: public
void setSecondaryCode (string $secondaryCode)
  • string $secondaryCode: the code from the secondary source of the exception.
setSecondaryMessage (line 86)

Sets the message from the secondary source of the exception.

  • access: public
void setSecondaryMessage (string $secondaryMessage)
  • string $secondaryMessage: the message from the secondary source of the exception.
setSecondarySource (line 64)

Sets the secondary source of the exception.

  • access: public
void setSecondarySource (string $secondarySource)
  • string $secondarySource: the secondary source of the exception.
toString (line 96)

Returns information about the execptions.

  • return: exception information.
  • access: public
string toString ()

Inherited Methods

Inherited From Exception (Internal Class)

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

Documentation generated on Sun, 26 Oct 2008 16:41:13 -0400 by phpDocumentor 1.4.2