Documentation


SEARCH

TABLE OF CONTENT

    1. Getting started 2. Basic concepts 3. Request dispatching 4. Context container 5. Dual MVC 6. Component model: 7. Security 8. Configuration 9. Session handling 10. I18n 11. Cache 12. Logging 13. Error handling 14. Advanced Topics 15. API reference

      Tutorials: Frequently Asqued Questions

      See also:


      Class: __ExceptionFactory


      Class Overview

      This file is part of lion framework.

      Copyright (c) 2010 Antonio Parraga Navarro

      Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

      The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

      THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


      Author:  Antonio Parraga Navarro
      Version:  1.4
      Copyright:  Copyright (c) 2010 Antonio Parraga Navarro
      Link:  http://www.lionframework.org
      License:  http://www.lionframework.org/license.html
      
      
      				

      Methods

      [ Top ]

      Method Summary

      __LionException   &createException()   Creates a new __LionException children instance (depending on the error_id parameter).
      void   &getErrorTable()  
      __ExceptionFactory   &getInstance()   This method return a singleton instance of __ExceptionFactory

      [ Top ]

      Methods

      createException


        __LionException &createException( string $error_id, [mixed $parameters = array()]  )

      Creates a new __LionException children instance (depending on the error_id parameter).


      Parameters:
      TypeNameDescription
      string $error_id
      mixed $parameters Error message parameters

      Access:  public



      getErrorTable


        void &getErrorTable( )

      Access:  public



      getInstance


        __ExceptionFactory &getInstance( )

      This method return a singleton instance of __ExceptionFactory

      Return:  A singleton reference to the __ExceptionFactory
      Access:  public