phramework doc
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Namespaces

  • Phramework
    • Authentication
    • Database
      • Operations
    • Exceptions
    • Extensions
    • Models
    • URIStrategy
    • Validate
    • Viewers

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
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

phramework doc API documentation generated by ApiGen