Amiro.CMS API Reference
Amiro.Ru / Manual
Loading search...

The AMI_Exception class

Exception
   |
   --AMI_Exception

• Introduction

Extended exception.

• Class synopsis

AMI_Exception extends Exception {
/* Properties */
// Data
protected mixed $data;
/* Inherited Properties */
protected $code;
protected $file;
protected $line;
protected $message;
private $string;
private $trace;
/* Methods */
// Construct the exception.
public __construct ( [ string $message = '' ], [ int $code = 0 ], [ $oPrevious = NULL ], [ mixed $data = NULL ] ) returns AMI_Exception;
// Returns exception data.
public getData ( ) returns mixed;
/* Inherited Methods */
public constructor __construct ( [$message = ], [$code = ] ) ( [ mixed $message = ], [ mixed $code = ] ) returns Exception;
public constructor __construct ( [$message = ], [$code = ] ) ( [ mixed $message = ], [ mixed $code = ] ) returns Exception;
public getCode ( ) ( ) returns void;
public getCode ( ) ( ) returns void;
public getFile ( ) ( ) returns void;
public getFile ( ) ( ) returns void;
public getLine ( ) ( ) returns void;
public getLine ( ) ( ) returns void;
public getMessage ( ) ( ) returns void;
public getMessage ( ) ( ) returns void;
public getTrace ( ) ( ) returns void;
public getTrace ( ) ( ) returns void;
public getTraceAsString ( ) ( ) returns void;
public getTraceAsString ( ) ( ) returns void;
public __clone ( ) ( ) returns void;
public __clone ( ) ( ) returns void;
public __toString ( ) ( ) returns void;
public __toString ( ) ( ) returns void;
}
Tags:
since 6.0.2

• Class Properies

protected mixed $data

Data

• Class Methods

// Construct the exception.
public __construct ( [ string $message = '' ], [ int $code = 0 ], [ $oPrevious = NULL ], [ mixed $data = NULL ] ) returns AMI_Exception;
  • string $message
    The Exception message to throw
  • int $code
    The Exception code
  • Exception $oPrevious
    The previous exception used for the exception chaining
  • mixed $data
    Exception data

Overrides: Exception::constructor __construct ( [$message = ], [$code = ] ).

// Returns exception data.
public getData ( ) returns mixed;