User class / resending of confirm link updated:
[shipsimu.git] / inc / classes / exceptions / main / class_InvalidObjectException.php
index 17a8033515e3a70c75a4e13eaf8d15fe4b95fe1b..dc6cd4e323cd6adf68f9497ef63775467612643d 100644 (file)
@@ -31,7 +31,7 @@ class InvalidObjectException extends FrameworkException {
         */
        public function __construct (FrameworkInterface $class, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Objects are not allowed here. (Object: <span id=\"exception_reason\">%s</span>)",
+               $message = sprintf("[%s:%d] Objects of type <span id=\"exception_reason\">%s</span> are not allowed here.",
                        $class->__toString(),
                        $this->getLine(),
                        $class->getObjectDescription()