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 getMieteinnahmenSoll() {
    try {//ww  w  .j  a  v a  2  s  .  c  o m
        return Is24CsvFormat.parseDecimal(this.get(FIELD_MIETEINNAHMEN_SOLL));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'SOLL-Mieteinnahmen'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

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

public Integer getAnzahlParkflaechen() {
    try {/*from ww  w  .j  a v  a  2s .com*/
        return Is24CsvFormat.parseInteger(this.get(FIELD_ANZAHL_PARKFLAECHEN));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Anzahl Parkflaechen'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

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

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

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

public BigDecimal getVermietbareFlaeche() {
    try {/*  w w  w  .  ja  v  a2s  . c  o  m*/
        return Is24CsvFormat.parseDecimal(this.get(FIELD_VERMIETBARE_FLAECHE));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'vermietbare Flaeche'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

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

public Integer getFahrtwegAutobahn() {
    try {//w w w. j a  va2  s.  c o  m
        return Is24CsvFormat.parseInteger(this.get(FIELD_FAHRTWEG_AUTOBAHN));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Fahrtweg zur Autobahn'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

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

public BigDecimal getPreisProParkflaeche() {
    try {//from   ww w  .j  av  a 2 s .  c  o m
        return Is24CsvFormat.parseDecimal(this.get(FIELD_PREIS_PRO_PARKFLAECHE));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Preis pro Parkflaeche'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

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

public BigDecimal getPauschalmiete() {
    try {/*from  www.  ja  v a 2  s . co m*/
        return Is24CsvFormat.parseDecimal(this.get(FIELD_PAUSCHALMIETE));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Pauschalmiete'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

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

public Integer getFahrtwegFlughafen() {
    try {/*from w  w w  . ja va2s.  co  m*/
        return Is24CsvFormat.parseInteger(this.get(FIELD_FAHRTWEG_FLUGHAFEN));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Fahrtweg zum Flughafen'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

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

public Integer getFusswegNahverkehr() {
    try {//from  ww w.j  a v a  2s.  c o m
        return Is24CsvFormat.parseInteger(this.get(FIELD_FUSSWEG_NAHVERKEHR));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Fussweg zum Nahverkehr'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}

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

public BigDecimal getBetriebskostenUmgelegt() {
    try {//  w  ww  .jav a  2s . c  o m
        return Is24CsvFormat.parseDecimal(this.get(FIELD_BETRIEBSKOSTEN_UMGELEGT));
    } catch (NumberFormatException ex) {
        LOGGER.warn("Can't read 'Betriebskosten umgelegt'!");
        LOGGER.warn("> " + ex.getLocalizedMessage(), ex);
        return null;
    }
}