165166167168169170171172173174
Integer result; try { result = Integer.valueOf(s); } catch (Exception e) { throw new DecodeException(s, "Decoding failed", e); } return result; }
180181182183184185186187188189
Long result; try { result = Long.valueOf(s); } catch (Exception e) { throw new DecodeException(s, "Decoding failed", e); } return result; }
195196197198199200201202203204
Short result; try { result = Short.valueOf(s); } catch (Exception e) { throw new DecodeException(s, "Decoding failed", e); } return result; }
88899091929394959697
Boolean result; try { result = Boolean.valueOf(s); } catch (Exception e) { throw new DecodeException(s, "Decoding failed", e); } return result; }
103104105106107108109110111
Byte result; try { result = Byte.valueOf(s); } catch (Exception e) { throw new DecodeException(s, "Decoding failed", e); } return result; }
117118119120121122123124125126
Character result; try { result = s.charAt(0); } catch (Exception e) { throw new DecodeException(s, "Decoding failed", e); } return result; }
132133134135136137138139140
Double result; try { result = Double.valueOf(s); } catch (Exception e) { throw new DecodeException(s, "Decoding failed", e); } return result; }
146147148149150151152153154
Float result; try { result = Float.valueOf(s); } catch (Exception e) { throw new DecodeException(s, "Decoding failed", e); } return result; }
160161162163164165166167168
174175176177178179180181182