DomainException
LengthException
Exceptions
PHP Manual

# The InvalidArgumentException class

## Introduction

Exception thrown if a argument does not match with the expected value

## Class synopsis

InvalidArgumentException
InvalidArgumentException extends LogicException {
/* Inherited methods */
final public string Exception::getMessage ( void )
final public int Exception::getCode ( void )
final public string Exception::getFile ( void )
final public string Exception::getLine ( void )
final public array Exception::getTrace ( void )
final public string Exception::getTraceAsString ( void )
public string Exception::__toString ( void )
final private string Exception::__clone ( void )
}

DomainException
LengthException
Exceptions
PHP Manual