mirror of
https://github.com/postgres/postgres.git
synced 2025-09-05 02:22:28 +03:00
Internationalisation of error messages
This commit is contained in:
@@ -65,7 +65,7 @@ public class PGmoney extends PGobject implements Serializable,Cloneable
|
||||
val = negative ? -val : val;
|
||||
|
||||
} catch(NumberFormatException e) {
|
||||
throw new SQLException("conversion of money failed - "+e.toString());
|
||||
throw new PSQLException("postgresql.money",e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user