MediaWiki REL1_39
NameTableAccessException.php
Go to the documentation of this file.
1<?php
23namespace MediaWiki\Storage;
24
25use RuntimeException;
26
33class NameTableAccessException extends RuntimeException {
34
41 public static function newFromDetails( $tableName, $accessType, $accessValue ) {
42 $message = "Failed to access name from {$tableName} using {$accessType} = {$accessValue}";
43 return new self( $message );
44 }
45
46}
Exception representing a failure to look up a row from a name table.
static newFromDetails( $tableName, $accessType, $accessValue)