Overview

Namespaces

  • Mothership
    • Exception
      • StateMachine
    • StateMachine

Exceptions

  • ExceptionAbstract
  • Overview
  • Namespace
  • Class

Class ExceptionAbstract

Exception
Extended by Mothership\Exception\ExceptionAbstract

Direct known subclasses

Mothership\Exception\StateMachine\StateMachineAdapterException, Mothership\Exception\StateMachine\StateMachineException, Mothership\Exception\StateMachine\StatusException, Mothership\Exception\StateMachine\TransitionException, Mothership\Exception\StateMachine\WorkflowException
Abstract
Namespace: Mothership\Exception
Located at Mothership/Exception/ExceptionAbstract.php
Methods summary
public
# __construct( string $message = "", integer $code = 0, Exception $previous = null, Symfony\Component\Console\Output\OutputInterface $output = null, boolean|true $send_alert = true )

Parameters

$message
$code
$previous
$output
$send_alert
if is true the exception will be write on the $output

Overrides

Exception::__construct()
public integer
# getGravity( )

Get the gravity of the exception

Get the gravity of the exception

Returns

integer
protected string
# getGravityLevel( )

Get the gravity level of the exception

Get the gravity level of the exception

Returns

string
public
# alert( )
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected $gravity
#
protected $output
#
Properties inherited from Exception
$code, $file, $line, $message
API documentation generated by ApiGen