Notice: Undefined offset: 8192 in /home/miphpf/domains/miphpf.com/public_html/includes/common.inc on line 499

Notice: Undefined offset: 8192 in /home/miphpf/domains/miphpf.com/public_html/includes/common.inc on line 506

Warning: Incorrect key file for table './miphpf_miphpfcom/watchdog.MYI'; try to repair it query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/miphpf/domains/miphpf.com/public_html/includes/unicode.inc on line 291.', 2, '', 'http://www.miphpf.com/manual/exceptions.html', '', '3.133.148.60', 1734783558) in /home/miphpf/domains/miphpf.com/public_html/includes/database.mysql.inc on line 121
Exceptions | MIPHPF - Your Open Source RAD PHP Framework
Skip navigation.
Home

Exceptions

: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/miphpf/domains/miphpf.com/public_html/includes/unicode.inc on line 291.

MIPHPF defines several exceptions, subclassed from the base Exception class in PHP.

* miException - this is the base class for exceptions in MIPHPF

* miConfigurationException - thrown if a configuration/programming error is detected. The following exception codes are used:
        const EXCEPTION_FILTER_CONDITION = 1;
        const EXCEPTION_FILTER_SAME_ARRAY_SIZE = 2;
        const EXCEPTION_FILTER_ONE_IS_ARRAY = 3;
        const EXCEPTION_FILTER_INVALID_FIELD = 4;
        const EXCEPTION_UNDEFINED_TEMPLATE_FILENAME = 5;
        const EXCEPTION_HEADERS_ALREADY_SENT = 6;
        const EXCEPTION_DEFAULT_RADIO_INDEX_INVALID = 7;
        const EXCEPTION_DEFAULT_OPTION_INDEX_INVALID = 8;

* miDBException - thrown if database related exception is encountered. Exception codes:
        const EXCEPTION_CONNECT = 1;
        const EXCEPTION_SELECTDB = 2;
        const EXCEPTION_QUERY = 3;
        const EXCEPTION_RECORD_NOT_FOUND = 4;