Method constructor() removed, several small fixes
[shipsimu.git] / application / ship-simu / exceptions / class_ItemNotTradeableException.php
index 496e4b08c5ba6e58584a84401169f22454816d26..b4ea989f038c06f25f217b93e3d05697e62ad8e4 100644 (file)
  * 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 ItemNotTradeableException extends FrameworkException {
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
                $message = sprintf("[%s:] <u>%s</u> ist nicht handelbar!",
                        $classArray[0]->__toString(),
-                       $classArray[1]->getPartDescr()
+                       $classArray[1]->getObjectDescription()
                );
 
                // Call parent constructor