* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class VariableIsNotSetException extends FrameworkException {
/**
* The constructor
*
*/
class VariableIsNotSetException extends FrameworkException {
/**
* The constructor
*
- * @param $message Message from the exception
- * @param $code Code number for the exception
+ * @param $array Message from the exception
+ * @param $code Code number for the exception
* @return void
*/
* @return void
*/
- public final function __construct ($array, $code) {
- // Cast the array
- $array = (array) $array;
-
+ public function __construct (array $array, $code) {
// Add a message around the missing class
// Add a message around the missing class
- $message = sprintf("[%s:%d] Bei der Initialisierung der Applikation <u>%s</u> wurde keine Variable <u>%s</u> erzeugt.",
+ $message = sprintf("[%s:%d] Bei der Initialisierung der Applikation <span class=\"exception_reason\">%s</span> wurde keine Variable <span class=\"exception_reason\">%s</span> erzeugt.",