Skip to content

Commit

Permalink
Update exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
gartens authored and vogti committed Sep 20, 2024
1 parent dba42e2 commit be78b21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/polypheny/jdbc/types/TypedValue.java
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ public int asInt() throws SQLException {
if ( isNull() ) {
return 0;
}
throw new PrismInterfaceServiceException( PrismInterfaceErrors.DATA_TYPE_MISMATCH, "This value is not of type TINYINT, SMALLINT, INTEGER or BIGINT." );
throw new PrismInterfaceServiceException( PrismInterfaceErrors.DATA_TYPE_MISMATCH, "This value is not of type TINYINT, SMALLINT, INTEGER, BIGINT or DECIMAL." );
}


Expand All @@ -686,7 +686,7 @@ public long asLong() throws SQLException {
if ( isNull() ) {
return 0;
}
throw new PrismInterfaceServiceException( PrismInterfaceErrors.DATA_TYPE_MISMATCH, "This value is not of type TINYINT, SMALLINT, INTEGER or BIGINT." );
throw new PrismInterfaceServiceException( PrismInterfaceErrors.DATA_TYPE_MISMATCH, "This value is not of type TINYINT, SMALLINT, INTEGER, BIGINT or DECIMAL." );
}


Expand Down

0 comments on commit be78b21

Please sign in to comment.