public short getShort ( String property ) { return getProperty ( property , value -> { try { return Short . valueOf ( value ) ; } catch ( NumberFormatException e ) { throw new ConfigurationException ( "malformed property value: " + property + " must be a short" ) ; } } ) ; }
Reads a short property .