MediaWiki  master
NameTableAccessException.php
Go to the documentation of this file.
1 <?php
23 namespace MediaWiki\Storage;
24 
25 use RuntimeException;
26 
33 class 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)