Example usage for java.lang NumberFormatException getLocalizedMessage

List of usage examples for java.lang NumberFormatException getLocalizedMessage

Introduction

In this page you can find the example usage for java.lang NumberFormatException getLocalizedMessage.

Prototype

public String getLocalizedMessage() 

Source Link

Document

Creates a localized description of this throwable.

Usage

From source file:org.openestate.io.is24_csv.records.Anlageobjekt.java

public BigDecimal getKaufpreis() {
    try {//from w  w w . j  av a  2 s . co  m
        return Is24CsvFormat.parseDecimal(this.get(FIELD_KAUFPREIS));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Kaufpreis'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

From source file:org.openestate.io.is24_csv.records.Anlageobjekt.java

public BigDecimal getWohnflaeche() {
    try {/*from   ww w. j  av  a 2 s.  c om*/
        return Is24CsvFormat.parseDecimal(this.get(FIELD_WOHNFLAECHE));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Wohnflaeche'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

From source file:org.openestate.io.is24_csv.records.Anlageobjekt.java

public BigDecimal getGesamtflaeche() {
    try {//from  w w w .ja v  a 2 s .  com
        return Is24CsvFormat.parseDecimal(this.get(FIELD_GESAMTFLAECHE));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Gesamtflaeche'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

From source file:org.openestate.io.is24_csv.records.WohnenAufZeit.java

public Integer getEtage() {
    try {//from w  w  w . java  2s.  co  m
        return Is24CsvFormat.parseInteger(this.get(FIELD_ETAGE));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Etage'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

From source file:org.openestate.io.is24_csv.records.WohnungKauf.java

public BigDecimal getHausgeld() {
    try {//from w w w . j av a2  s  .  c om
        return Is24CsvFormat.parseDecimal(this.get(FIELD_HAUSGELD));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Hausgeld'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

From source file:org.openestate.io.is24_csv.records.Anlageobjekt.java

public BigDecimal getGewerbeflaeche() {
    try {// w w w . j  a v a 2 s .  c om
        return Is24CsvFormat.parseDecimal(this.get(FIELD_GEWERBEFLAECHE));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Gewerbeflaeche'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

From source file:org.openestate.io.is24_csv.records.Anlageobjekt.java

public Integer getSanierungsjahr() {
    try {/*from   www .  ja  v  a2s  . c o m*/
        return Is24CsvFormat.parseInteger(this.get(FIELD_SANIERUNGSJAHR));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Sanierungsjahr'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

From source file:org.openestate.io.is24_csv.records.Anlageobjekt.java

public BigDecimal getKaufpreisProQm() {
    try {//from ww  w.j  a  v a  2s. c om
        return Is24CsvFormat.parseDecimal(this.get(FIELD_KAUFPREIS_PRO_QM));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Kaufpreis pro qm'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

From source file:org.openestate.io.is24_csv.records.Anlageobjekt.java

public BigDecimal getSonstigeFlaeche() {
    try {/*from   w  ww.  j av a2  s  .c o m*/
        return Is24CsvFormat.parseDecimal(this.get(FIELD_SONSTIGE_FLAECHE));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'sonstige Flaeche'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

From source file:org.openestate.io.is24_csv.records.Anlageobjekt.java

public BigDecimal getMieteinnahmenIst() {
    try {//from   ww w .  j a  v a  2  s.c  o  m
        return Is24CsvFormat.parseDecimal(this.get(FIELD_MIETEINNAHMEN_IST));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'IST-Mieteinnahmen'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}