Added reference name to exception that is thrown.

This commit is contained in:
Josh Sherman 2011-08-06 13:31:08 -04:00
parent dbcf6fdb80
commit 886026aa4c
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ class Dynamic extends Object
}
else
{
throw new Exception('Supplied reference does not exist');
throw new Exception('Supplied reference does not exist (' . $reference . ')');
}
}
}

View file

@ -1204,7 +1204,7 @@ class Dynamic extends Object
}
else
{
throw new Exception('Supplied reference does not exist');
throw new Exception('Supplied reference does not exist (' . $reference . ')');
}
}
}