This commit is contained in:
jfrijters 2005-03-04 14:00:42 +00:00
Родитель d98bfbf4d6
Коммит 66240faf32
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -541,7 +541,8 @@ namespace IKVM.Runtime
public static void VerboseCastFailure(RuntimeTypeHandle typeHandle, object obj)
{
throw IKVM.Internal.JVM.Library.newClassCastException(String.Format("Object of type \"{0}\" cannot be cast to \"{1}\"", obj.GetType().AssemblyQualifiedName, Type.GetTypeFromHandle(typeHandle).AssemblyQualifiedName));
string msg = String.Format("Object of type \"{0}\" cannot be cast to \"{1}\"", obj.GetType().AssemblyQualifiedName, Type.GetTypeFromHandle(typeHandle).AssemblyQualifiedName);
throw IKVM.Internal.JVM.Library.newClassCastException(msg);
}
}
}