POT
POT
POT
Main menu

Download

Forum

SVN

Class: E_OTS_ErrorCode

Source Location: /classes/E_OTS_ErrorCode.php

Class E_OTS_ErrorCode

Class Overview

Generic exception class for error codes.

Generic exception class for error codes.

Located in /classes/E_OTS_ErrorCode.php [line 20]

Exception
   |
   --E_OTS_ErrorCode
Author(s):
Information Tags:
Version:  0.1.2
Since:  0.0.6

Methods

[ Top ]
Descendants
Child Class Description
E_OTS_FileLoaderError Error during reading OTServ binary file.
E_OTS_OTBMError OTBM map loading error.
E_OTS_Generic Generic exception class for general exceptions.

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Exception (Internal Class)

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

Inherited From Exception (Internal Class)

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

[ Top ]
Method Summary
E_OTS_ErrorCode   __construct()   Sets error code.

[ Top ]
Methods
Constructor __construct  [line 28]

  E_OTS_ErrorCode __construct( int $code, [string $message = '']  )

Sets error code.

Sets error code.

Parameters:
int   $code:  Error code.
string   $message:  Optional error message.

API Tags:
Access:  public

Information Tags:
Version:  0.1.2
Since:  0.0.6

Redefinition of:
Exception::constructor __construct ( [$message = ], [$code = ] )

[ Top ]