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 ServerException

Server Exception Used to throw an \Exception, when there is a server issue.

Exception
Extended by Phramework\Exceptions\ServerException
Namespace: Phramework\Exceptions
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 1.0.0
Located at ServerException.php

Methods summary

public
# __construct( $message = 'Internal Server Error', $code = 500 )

Overrides

Exception::__construct

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