PHP Class Doctrine\ODM\MongoDB\MongoDBException

Since: 1.0
Author: Jonathan H. Wage ([email protected])
Inheritance: extends Exception
Show file Open project: doctrine/mongodb-odm Class Usage Examples

Public Methods

Method Description
cannotPersistMappedSuperclass ( string $className ) : MongoDBException
detachedDocumentCannotBeRemoved ( ) : MongoDBException
documentManagerClosed ( ) : MongoDBException
documentNotMappedToCollection ( string $className ) : MongoDBException
failedToEnableSharding ( string $dbName, string $errorMessage ) : MongoDBException
failedToEnsureDocumentSharding ( string $className, string $errorMessage ) : MongoDBException
findByRequiresParameter ( string $methodName ) : MongoDBException
invalidDocumentRepository ( string $className ) : MongoDBException
invalidDocumentState ( string $state ) : MongoDBException
invalidFindByCall ( string $documentName, string $fieldName, string $method ) : MongoDBException
invalidValueForType ( string $type, string | array $expected, mixed $got ) : MongoDBException
queryNotIndexed ( string $className, string $unindexedFields ) : MongoDBException
shardKeyFieldCannotBeChanged ( string $field, string $className ) : MongoDBException
shardKeyFieldMissing ( string $field, string $className ) : MongoDBException
unknownDocumentNamespace ( string $documentNamespaceAlias ) : MongoDBException

Method Details

cannotPersistMappedSuperclass() public static method

public static cannotPersistMappedSuperclass ( string $className ) : MongoDBException
$className string
return MongoDBException

detachedDocumentCannotBeRemoved() public static method

public static detachedDocumentCannotBeRemoved ( ) : MongoDBException
return MongoDBException

documentManagerClosed() public static method

public static documentManagerClosed ( ) : MongoDBException
return MongoDBException

documentNotMappedToCollection() public static method

public static documentNotMappedToCollection ( string $className ) : MongoDBException
$className string
return MongoDBException

failedToEnableSharding() public static method

public static failedToEnableSharding ( string $dbName, string $errorMessage ) : MongoDBException
$dbName string
$errorMessage string
return MongoDBException

failedToEnsureDocumentSharding() public static method

public static failedToEnsureDocumentSharding ( string $className, string $errorMessage ) : MongoDBException
$className string
$errorMessage string
return MongoDBException

findByRequiresParameter() public static method

public static findByRequiresParameter ( string $methodName ) : MongoDBException
$methodName string
return MongoDBException

invalidDocumentRepository() public static method

public static invalidDocumentRepository ( string $className ) : MongoDBException
$className string
return MongoDBException

invalidDocumentState() public static method

public static invalidDocumentState ( string $state ) : MongoDBException
$state string
return MongoDBException

invalidFindByCall() public static method

public static invalidFindByCall ( string $documentName, string $fieldName, string $method ) : MongoDBException
$documentName string
$fieldName string
$method string
return MongoDBException

invalidValueForType() public static method

public static invalidValueForType ( string $type, string | array $expected, mixed $got ) : MongoDBException
$type string
$expected string | array
$got mixed
return MongoDBException

queryNotIndexed() public static method

Deprecation: method was deprecated in 1.2 and will be removed in 2.0
public static queryNotIndexed ( string $className, string $unindexedFields ) : MongoDBException
$className string
$unindexedFields string
return MongoDBException

shardKeyFieldCannotBeChanged() public static method

public static shardKeyFieldCannotBeChanged ( string $field, string $className ) : MongoDBException
$field string
$className string
return MongoDBException

shardKeyFieldMissing() public static method

public static shardKeyFieldMissing ( string $field, string $className ) : MongoDBException
$field string
$className string
return MongoDBException

unknownDocumentNamespace() public static method

public static unknownDocumentNamespace ( string $documentNamespaceAlias ) : MongoDBException
$documentNamespaceAlias string
return MongoDBException