Sha256: c48d88cb3f7d976cbac177348eaf3b809782736e5a5bf3b7ea9f41d6e223eb77

Contents?: true

Size: 694 Bytes

Versions: 2

Compression:

Stored size: 694 Bytes

Contents

<?php
/**
 * CSS Compressor [VERSION]
 * [DATE]
 * Corey Hart @ http://www.codenothing.com
 */


Class CSSCompression_Exception extends Exception
{
	/**
	 * Custom exception handler
	 *
	 * @param (string) message: Error message
	 * @param (int) code: Error code
	 * @instance (Exception Instance) previous: Previous exception
	 */
	public function __construct( $message = 'Unknown Exception', $code = 0, Exception $previous = NULL ) {
		parent::__construct( $message, $code, $previous );
	}

	/**
	 * String version of this custom exception
	 *
	 * @params none
	 */
	public function __toString(){
		return "CSSCompression Exception: [" . $this->code . "] " . $this->message . "\n";
	}
};

?>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
html5-starter-0.1.4b templates/project/files/build/tools/css-compressor/lib/Exception.php
html5-starter-0.1.3b templates/project/files/build/tools/css-compressor/lib/Exception.php