PHP Class Phalcon\Db\Adapter\MongoDB\GridFS\Exception\CorruptFileException

Inheritance: extends Phalcon\Db\Adapter\MongoDB\Exception\RuntimeException
Afficher le fichier Open project: phalcon/incubator Class Usage Examples

Méthodes publiques

Méthode Description
missingChunk ( integer $expectedIndex ) : self Thrown when a chunk is not found for an expected index.
unexpectedIndex ( integer $index, integer $expectedIndex ) : self Thrown when a chunk has an unexpected index number.
unexpectedSize ( integer $size, integer $expectedSize ) : self Thrown when a chunk has an unexpected data size.

Method Details

missingChunk() public static méthode

Thrown when a chunk is not found for an expected index.
public static missingChunk ( integer $expectedIndex ) : self
$expectedIndex integer Expected index number
Résultat self

unexpectedIndex() public static méthode

Thrown when a chunk has an unexpected index number.
public static unexpectedIndex ( integer $index, integer $expectedIndex ) : self
$index integer Actual index number (i.e. "n" field)
$expectedIndex integer Expected index number
Résultat self

unexpectedSize() public static méthode

Thrown when a chunk has an unexpected data size.
public static unexpectedSize ( integer $size, integer $expectedSize ) : self
$size integer Actual size (i.e. "data" field length)
$expectedSize integer Expected size
Résultat self