This is not a runtime exception, use Exception and don't use {}, follow the 'Theme' . $theme . ' is' style that is used in the rest of the class.