Browse Source

Fix compiler error

杨博 (Yang Bo) 10 years ago
parent
commit
e681f6f72f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/java/internal/Exceptions.hx

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

@@ -74,7 +74,7 @@ class Exceptions {
 		return "Haxe Exception: " + obj;
 		return "Haxe Exception: " + obj;
 	}
 	}
 	
 	
-	override public function getMessage():String
+	@:overload override public function getMessage():String
 	{
 	{
 		return switch (super.getMessage())
 		return switch (super.getMessage())
 		{
 		{