Guest User

Untitled

a guest
Feb 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public Exception(Exception e, String value) {
  2. super(e);
  3. this.value = value;
  4. Map<String, String> map = new HashMap();
  5. //Set entrySet = Map.entrySet();
  6. map.putAll(Exception.entrySet().stream().collect(Collectors.toMap(e - > e.getKey().toString(), e -> e.getValue().toString())));
  7. }
Add Comment
Please, Sign In to add comment