* @package Mammut\IO */ class IOException extends \RuntimeException { const _VERSION_ = '0.5.0.1'; const IO_GENERAL = 1000; const IO_NOT_FOUND = 1001; const IO_PROTECTED = 1002; private $context; public function __construct($message, $code, $context = false) { parent::__construct($message, $code); $this->context = $context; } public function getContext() { return $this->context; } }