Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Exception(Exception e, String value) {
- super(e);
- this.value = value;
- Map<String, String> map = new HashMap();
- //Set entrySet = Map.entrySet();
- map.putAll(Exception.entrySet().stream().collect(Collectors.toMap(e - > e.getKey().toString(), e -> e.getValue().toString())));
- }
Add Comment
Please, Sign In to add comment