summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/postgresql/util/PGmoney.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/jdbc/postgresql/util/PGmoney.java')
-rw-r--r--src/interfaces/jdbc/postgresql/util/PGmoney.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/postgresql/util/PGmoney.java b/src/interfaces/jdbc/postgresql/util/PGmoney.java
index c2dcb3fad7..0d094dbf10 100644
--- a/src/interfaces/jdbc/postgresql/util/PGmoney.java
+++ b/src/interfaces/jdbc/postgresql/util/PGmoney.java
@@ -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);
}
}