| alpha--exceptions

# Class: AlphaException Source Location: /exceptions/AlphaException.inc ## Class AlphaException Class Overview
The parent exception class for Alpha Located in /exceptions/AlphaException.inc [line 47]
    Exception
       |
       --AlphaException
Author(s): John Collins <dev@alphaframework.org> Information Tags:
Version: | $Id: AlphaException.inc 1453 2011-12-04 15:12:54Z johnc $
Copyright: | Copyright (c) 2011, John Collins (founder of Alpha Framework). All rights reserved.
     Redistribution and use in source and binary forms, with or
     without modification, are permitted provided that the
     following conditions are met:

     * Redistributions of source code must retain the above
       copyright notice, this list of conditions and the
       following disclaimer.
     * Redistributions in binary form must reproduce the above
       copyright notice, this list of conditions and the
       following disclaimer in the documentation and/or other
       materials provided with the distribution.
     * Neither the name of the Alpha Framework nor the names
       of its contributors may be used to endorse or promote
       products derived from this software without specific
       prior written permission.

     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
     CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
     INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
     MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
     DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
     CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
     OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
     SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Since: | 1.0
License: | The BSD License
| Methods setFile setMessage
[ Top ] Descendants
Child Class | Description
--- | ---
BadBOTableNameException | The exception class for BO (Business Object) invalid table name exceptions
BONotFoundException | The exception class for BO (Business Object) not found in the database errors
CustomQueryException | The exception class for when a custom SQL query failed to run.
FailedDeleteException | The exception class for BO (Business Object) failed delete errors
FailedIndexCreateException | The exception class for a failed attempt to create a database index or foreign key constraint
FailedLookupCreateException | The exception class for a failed attempt to create a database lookup table for MANY-TO-MANY relationships
FailedSaveException | The exception class for BO (Business Object) failed save errors
FailedUnitCommitException | The exception class for AlphaController unit of work failed to save exceptions
FileNotFoundException | The exception class for a file/directory not being found
IllegalArguementException | The exception class for an illegal arguement (parameter) being passed to a method
LibraryNotInstalledException | The exception class for instances where required libraries are not installed
LockingException | The exception class for BO (Business Object) object locking errors
MailNotSentException | The exception class for errors sending email
PHPException | The exception class for handling generic PHP errors
ResourceNotAllowedException | The exception class for 403 resource not allowed controller errors
ResourceNotFoundException | The exception class for 404 resource not found controller errors
SecurityException | The exception class for security errors
ValidationException | The exception class for BO (Business Object) validation errors
[ Top ] Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants
--- | --- | ---
Inherited From Exception (Internal Class) $code $file $line $message $string $trace | Inherited From Exception (Internal Class) constructor __construct ( [$message = ], [$code = ] ) getCode ( ) getFile ( ) getLine ( ) getMessage ( ) getTrace ( ) getTraceAsString ( ) __clone ( ) __toString ( ) |
[ Top ] Method Summary
void | setFile() | Set the filename for the exception
void | setMessage() | Set the message for the exception
[ Top ] Properties Methods setFile [line 64]
`void setFile( string $file )`
Set the filename for the exception Parameters:
string | $file: |
API Tags:
Access: | public
Information Tags:
Since: | 1.0
[ Top ] setMessage [line 54]
`void setMessage( string $message )`
Set the message for the exception Parameters:
string | $message: |
API Tags:
Access: | public
Information Tags:
Since: | 1.0
[ Top ] Documentation generated on Tue, 13 Dec 2011 20:26:02 +0000 by phpDocumentor 1.4.3