Base class for ActiveRecord exceptions
Located in /activerecord/lib/ActiveRecord/Base.php (line 15)
Exception | --ActiveRecord_Error
Class | Description |
---|---|
ActiveRecord_NotFoundError | Thrown if a required record was not found |
ActiveRecord_UnknownOptionError | Thrown if an invalid option key is supplied |
ActiveRecord_SubclassNotFound | Thrown if a required subclass could not be found |
ActiveRecord_UnknownPropertyError | Thrown if an attempt is made to access a non-existent property |
ActiveRecord_UnknownMethodError | Thrown if an attempt is made to access a non-existent method |
ActiveRecord_UnknownAssociationError | Thrown if a reference is made to a non-existent association |
ActiveRecord_IncorrectArgumentCountError | Thrown if a call is make with an incorrect number of arguments |
ActiveRecord_NotSaved | Thrown if a record could not be successfully saved to the database. |
ActiveRecord_ReadOnlyRecord | Thrown if an attempt is made to save a read-only record |
ActiveRecord_Invalid | Thrown if a record could not be saved to the database due to validation. |
ActiveRecord_AssociationTypeMismatch | Thrown when an attempt is made to assign an invalid type to an association |
Constructor
Inherited From Exception (Internal Class)
constructor __construct ( [$message = ], [$code = ], [$previous = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getPrevious ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )
Documentation generated on Wed, 25 Apr 2012 09:46:41 -0700 by phpDocumentor 1.4.3