MvcLite\Exception
Base Exception
- Author: Cory Collier <corycollier@corycollier.com>
Synopsis
- // constants
- const ERR_MAGIC_METHOD = 'Magic Methods defeat the purpose of this framework >_<';
- const ERR_MAGIC_METHOD_GET = 'Cannot use __get in the MVCLite framework: !explain';
- const ERR_MAGIC_METHOD_SET = 'Cannot use __set in the MVCLite framework: !explain';
- const ERR_MAGIC_METHOD_CALL = 'Cannot use __call in the MVCLite framework: !explain';
- // Inherited members from Exception
- protected $message;
- protected $code;
- protected $file;
- protected $line;
- // Inherited methods from Exception
- public void __construct()
- public final string getMessage()
- public final Exception getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
Hierarchy
Extends
Coverage
Methods | 0% | 0 / 0 |
Lines | 0% | 0 / 0 |
Constants
Name | Value |
---|---|
ERR_MAGIC_METHOD | 'Magic Methods defeat the purpose of this framework >_<' |
ERR_MAGIC_METHOD_GET | 'Cannot use __get in the MVCLite framework: !explain' |
ERR_MAGIC_METHOD_SET | 'Cannot use __set in the MVCLite framework: !explain' |
ERR_MAGIC_METHOD_CALL | 'Cannot use __call in the MVCLite framework: !explain' |
Members
protected
- $code
—
int
The exception code - $file
—
string
The filename where the exception was created - $line
—
int
The line where the exception was created - $message
—
string
The exception message
Methods
Inherited from Exception
public
- __toString() — String representation of the exception
- getCode() — Gets the Exception code
- getFile() — Gets the file in which the exception occurred
- getLine() — Gets the line in which the exception occurred
- getMessage() — Gets the Exception message
- getPrevious() — Returns previous Exception
- getTrace() — Gets the stack trace
- getTraceAsString() — Gets the stack trace as a string
History
-
2015-12-02T17:24:15-05:00 (commit #46df124)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
Fixing phpcs issues
-
2015-11-30T18:03:08-05:00 (commit #edb2b58)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
LOTS of code cleanup here. Fixing unit tests for those cleanups as well
-
2015-11-29T13:59:13-05:00 (commit #5ca1372)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
,
-
2015-11-27T22:46:57-05:00 (commit #3067c88)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
Provisional commit - Not done moving things around to be namespace compliant. This commit is completely not functional
-
2015-11-11T08:14:50-05:00 (commit #ad28461)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
More moving things around
-
2015-11-11T08:07:21-05:00 (commit #3838504)
Author: Cory Collier (corycollier@corycollier.com) / Commiter: Cory Collier (corycollier@corycollier.com)
Re-introducing the library components as first class items