]> git.mxchange.org Git - hub.git/blob - ship-simu/application/hub/exceptions/class_HubException.php
Initial import
[hub.git] / ship-simu / application / hub / exceptions / class_HubException.php
1 <?php
2 // A general hub exception. This shall not be thrown so it defaults to abstract.
3 abstract class HubException extends FrameworkException {
4         /**
5          * The constructor
6          *
7          * @param               $message                Message from the exception
8          * @param               $code           Code number for the exception
9          * @return      void
10          */
11         public function __construct ($message, $code) {
12                 // For now just pipe all data through
13                 parent::__construct($message, $code);
14         }
15 }
16
17 // [EOF]
18 ?>