summaryrefslogtreecommitdiff
path: root/framework/Log/EventLog/exceptions/writer_exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Log/EventLog/exceptions/writer_exception.php')
-rw-r--r--framework/Log/EventLog/exceptions/writer_exception.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/framework/Log/EventLog/exceptions/writer_exception.php b/framework/Log/EventLog/exceptions/writer_exception.php
new file mode 100644
index 00000000..ae82bf07
--- /dev/null
+++ b/framework/Log/EventLog/exceptions/writer_exception.php
@@ -0,0 +1,30 @@
+<?php
+/**
+ * File containing the ezcLogWriterException class.
+ *
+ * @package EventLog
+ * @version //autogen//
+ * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
+ * @license http://ez.no/licenses/new_bsd New BSD License
+ */
+
+/**
+ * The ezcLogWriterException will be thrown when an {@class ezcLogWriter} or
+ * a subclass encounters an exceptional state.
+ *
+ * @package EventLog
+ * @version //autogen//
+ */
+class ezcLogWriterException extends Exception
+{
+ /**
+ * Constructs a new ezcLogWriterException with the message $message.
+ *
+ * @param string $message
+ */
+ public function __construct( $message )
+ {
+ parent::__construct( $message, 0 );
+ }
+}
+?>