Browse Source

Simplify the the Message property

杨博 11 years ago
parent
commit
45f25b53c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/cs/internal/Exceptions.hx

+ 1 - 1
std/cs/internal/Exceptions.hx

@@ -54,7 +54,7 @@ import cs.system.Exception;
 
 	public function toString():String
 	{
-		return "Haxe Exception: " + obj;
+		return Std.string(obj);
 	}
 
 	public static function wrap(obj:Dynamic):Exception