Class

eZ\Publish\Core\Base\Exceptions\BadStateException

class BadStateException extends BadStateException implements Translatable

BadState Exception implementation.

Usage: throw new BadState( 'nodes', 'array' );

Methods

__construct(string $argumentName, string $whatIsWrong, Exception $previous = null)

Generates: "Argument '{$argumentName}' has a bad state: {$whatIsWrong}".

Details

at line 32
public __construct(string $argumentName, string $whatIsWrong, Exception $previous = null)

Generates: "Argument '{$argumentName}' has a bad state: {$whatIsWrong}".

Parameters

string $argumentName
string $whatIsWrong
Exception $previous