openmediavault  4.0 (Arrakis)
The open network attached storage solution
Public Member Functions | List of all members
OMV\Rpc\TraceException Class Reference
Inheritance diagram for OMV\Rpc\TraceException:
OMV\Rpc\Exception OMV\Exception

Public Member Functions

 __construct ($message, $code=0, $trace="")
 
 __toString ()
 

Detailed Description

TraceException is a special exception that should be used when a stack trace should be delivered to the exception catcher.

Constructor & Destructor Documentation

◆ __construct()

OMV\Rpc\TraceException::__construct (   $message,
  $code = 0,
  $trace = "" 
)

Constructor

Parameters
messageThe exception message to throw.
codeThe exception code.
traceThe exception stack trace.

Member Function Documentation

◆ __toString()

OMV\Rpc\TraceException::__toString ( )

String representation of the exception.

Returns
Returns the string representation of the exception.

The documentation for this class was generated from the following file: