Alpha Framework alpha--exceptions
[ class tree: alpha--exceptions ] [ index: alpha--exceptions ] [ all elements ]

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 1341 2011-03-17 15:02:02Z 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

[ 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
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 ]
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 Thu, 17 Mar 2011 16:43:29 +0000 by phpDocumentor 1.4.3