testphase
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Namespaces

  • Phramework
    • Exceptions
    • Testphase
      • Exceptions
    • Validate

Exceptions

  • DatabaseException
  • ForbiddenException
  • IncorrectParametersException
  • MethodNotAllowedException
  • MissingParametersException
  • NotFoundException
  • NotImplementedException
  • PermissionException
  • RequestException
  • ServerException
  • UnauthorizedException

Class UnauthorizedException

PermissionException Used to throw an \Exception, when there requested resource is not available for current user.

Exception implements Throwable
Extended by Phramework\Exceptions\UnauthorizedException
Namespace: Phramework\Exceptions
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Located at UnauthorizedException.php

Methods summary

public
# __construct( string $message = 'Unauthorized', string $return = false )

Parameters

$message
\Exception message
$return
Return url. Optional, default is FALSE.

Overrides

Exception::__construct
public
# getReturn( )

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

testphase API documentation generated by ApiGen