SproutCMS

This is the code documentation for the SproutCMS project

class Kohana_Exception

Creates a generic i18n exception.

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends Kohana_Exception {
    
    /**
    * Sends an Internal Server Error header.
    **/
    public function sendHeaders () {
        // Method code goes here
    }
    
    /**
    * Fetch the template name.
    **/
    public function getTemplate () {
        // Method code goes here
    }
    
    /**
    * Set exception message.
    **/
    public function __construct (string $error) {
        // Method code goes here
    }
    
    /**
    * Magic method for converting an object to a string.
    **/
    public function __toString () {
        // Method code goes here
    }
    
}
?>