Base class for ActiveRecord exceptions
Located in /activerecord/lib/ActiveRecord/Base.php (line 15)
Exception | --ActiveRecord_Error
Class | Description |
---|---|
![]() |
Thrown if a required record was not found |
![]() |
Thrown if an invalid option key is supplied |
![]() |
Thrown if a required subclass could not be found |
![]() |
Thrown if an attempt is made to access a non-existent property |
![]() |
Thrown if an attempt is made to access a non-existent method |
![]() |
Thrown if a reference is made to a non-existent association |
![]() |
Thrown if a call is make with an incorrect number of arguments |
![]() |
Thrown if a record could not be successfully saved to the database. |
![]() |
Thrown if an attempt is made to save a read-only record |
![]() |
Thrown if a record could not be saved to the database due to validation. |
![]() |
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