List of usage examples for java.lang NumberFormatException getLocalizedMessage
public String getLocalizedMessage()
From source file:org.openestate.io.idx.IdxRecord.java
public Long getPublishingId() { try {/*w w w. j a va 2 s . c o m*/ return IdxFormat.parseLong(this.get(FIELD_PUBLISHING_ID)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read publishing id!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }
From source file:org.openestate.io.idx.IdxRecord.java
public Long getSellingPrice() { try {//from w w w . j a v a 2 s . c o m return IdxFormat.parseLong(this.get(FIELD_SELLING_PRICE)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read selling price!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }
From source file:org.openestate.io.idx.IdxRecord.java
public BigDecimal getCeilingHeight() { try {//from w w w . ja va 2s.c om return IdxFormat.parseDecimal(this.get(FIELD_CEILING_HEIGHT)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read ceiling height!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }
From source file:org.openestate.io.idx.IdxRecord.java
public Long getSurfaceLiving() { try {/*from w w w . j av a 2s .c o m*/ return IdxFormat.parseLong(this.get(FIELD_SURFACE_LIVING)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read living surface!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }
From source file:org.openestate.io.idx.IdxRecord.java
public Long getSurfaceUsable() { try {/*from w w w . ja v a2s. com*/ return IdxFormat.parseLong(this.get(FIELD_SURFACE_USABLE)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read usable surface!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }
From source file:org.openestate.io.idx.IdxRecord.java
public BigDecimal getNumberOfRooms() { try {/*from w w w . j a va 2s . co m*/ return IdxFormat.parseDecimal(this.get(FIELD_NUMBER_OF_ROOMS)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read number of rooms!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }
From source file:org.openestate.io.idx.IdxRecord.java
public Integer getYearRenovated() { try {//from w w w . java 2s . c o m return IdxFormat.parseInteger(this.get(FIELD_YEAR_RENOVATED)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read renovation year!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }
From source file:org.openestate.io.idx.IdxRecord.java
public Integer getNumberOfFloors() { try {//from w w w . j a v a 2s . c om return IdxFormat.parseInteger(this.get(FIELD_NUMBER_OF_FLOORS)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read number of floors!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }
From source file:org.openestate.io.idx.IdxRecord.java
public Long getSurfaceProperty() { try {/*from w ww . j av a 2 s . c o m*/ return IdxFormat.parseLong(this.get(FIELD_SURFACE_PROPERTY)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read property surface!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }
From source file:org.openestate.io.idx.IdxRecord.java
public Integer getDistanceMotorway() { try {// w w w . j av a 2 s . c o m return IdxFormat.parseInteger(this.get(FIELD_DISTANCE_MOTORWAY)); } catch (NumberFormatException ex) { LOGGER.warn("Can't read distance to motorway!"); LOGGER.warn("> " + ex.getLocalizedMessage(), ex); return null; } }