downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

OutOfBoundsException> <LengthException
[edit] Last updated: Fri, 26 Apr 2013

view this page in

The LogicException class

(PHP 5 >= 5.1.0)

Introduction

Exception that represents error in the program logic. This kind of exceptions should directly lead to a fix in your code.

Class synopsis

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


add a note add a note User Contributed Notes LogicException - [1 notes]
up
2
Dawid Krysiak
2 years ago
Direct known subclasses:
BadFunctionCallException, DomainException, InvalidArgumentException, LengthException, OutOfRangeException

 
show source | credits | stats | sitemap | contact | advertising | mirror sites