Fixed message for exception_failed_to_convert_to_json

Fixed indentation
This commit is contained in:
Jocelyn Fiat
2012-11-15 16:18:28 +01:00
parent e17f00cad6
commit ab84e5a7a0

View File

@@ -245,7 +245,7 @@ feature {NONE} -- Implementation (Exceptions)
do do
Result := exception_prefix + "Failed to convert JSON_VALUE to an Eiffel object: " + a_value.generator Result := exception_prefix + "Failed to convert JSON_VALUE to an Eiffel object: " + a_value.generator
if base_class /= Void then if base_class /= Void then
Result.append (" -> " + base_class) Result.append (" -> {" + base_class + "}")
end end
end end
@@ -254,7 +254,7 @@ feature {NONE} -- Implementation (Exceptions)
do do
Result := exception_prefix + "Failed to convert Eiffel object to a JSON_VALUE" Result := exception_prefix + "Failed to convert Eiffel object to a JSON_VALUE"
if an_object /= Void then if an_object /= Void then
Result := ": " + an_object.generator Result.append (" : {" + an_object.generator + "}")
end end
end end