this.ioex = ioex;
}
public int hashCode() {
return ioex.hashCode();
}
public boolean equals
(Object obj
) { return ioex.equals(obj);
}
return ioex.getMessage();
}
public String getLocalizedMessage
() { return ioex.getLocalizedMessage();
}
return ioex.getCause();
}
return ioex.initCause(cause);
}
return ioex.toString();
}
public void printStackTrace() {
ioex.printStackTrace();
}
ioex.printStackTrace(s);
}
ioex.printStackTrace(s);
}
return ioex.fillInStackTrace();
}
public StackTraceElement[] getStackTrace() {
return ioex.getStackTrace();
}
public void setStackTrace(StackTraceElement[] stackTrace) {
ioex.setStackTrace(stackTrace);
}
}
Y2xhc3MgSU9SdW50aW1lRXhjZXB0aW9uIGV4dGVuZHMgUnVudGltZUV4Y2VwdGlvbiB7CiAgICAKICAgIGZpbmFsIElPRXhjZXB0aW9uIGlvZXg7CiAgICAKICAgIHB1YmxpYyBJT1J1bnRpbWVFeGNlcHRpb24oSU9FeGNlcHRpb24gaW9leCkgewogICAgICAgIHRoaXMuaW9leCA9IGlvZXg7CiAgICB9CiAgICAKICAgIHB1YmxpYyBpbnQgaGFzaENvZGUoKSB7CiAgICAgICAgcmV0dXJuIGlvZXguaGFzaENvZGUoKTsKICAgIH0KCiAgICBwdWJsaWMgYm9vbGVhbiBlcXVhbHMoT2JqZWN0IG9iaikgewogICAgICAgIHJldHVybiBpb2V4LmVxdWFscyhvYmopOwogICAgfQoKICAgIHB1YmxpYyBTdHJpbmcgZ2V0TWVzc2FnZSgpIHsKICAgICAgICByZXR1cm4gaW9leC5nZXRNZXNzYWdlKCk7CiAgICB9CgogICAgcHVibGljIFN0cmluZyBnZXRMb2NhbGl6ZWRNZXNzYWdlKCkgewogICAgICAgIHJldHVybiBpb2V4LmdldExvY2FsaXplZE1lc3NhZ2UoKTsKICAgIH0KCiAgICBwdWJsaWMgVGhyb3dhYmxlIGdldENhdXNlKCkgewogICAgICAgIHJldHVybiBpb2V4LmdldENhdXNlKCk7CiAgICB9CgogICAgcHVibGljIFRocm93YWJsZSBpbml0Q2F1c2UoVGhyb3dhYmxlIGNhdXNlKSB7CiAgICAgICAgcmV0dXJuIGlvZXguaW5pdENhdXNlKGNhdXNlKTsKICAgIH0KCiAgICBwdWJsaWMgU3RyaW5nIHRvU3RyaW5nKCkgewogICAgICAgIHJldHVybiBpb2V4LnRvU3RyaW5nKCk7CiAgICB9CgogICAgcHVibGljIHZvaWQgcHJpbnRTdGFja1RyYWNlKCkgewogICAgICAgIGlvZXgucHJpbnRTdGFja1RyYWNlKCk7CiAgICB9CgogICAgcHVibGljIHZvaWQgcHJpbnRTdGFja1RyYWNlKFByaW50U3RyZWFtIHMpIHsKICAgICAgICBpb2V4LnByaW50U3RhY2tUcmFjZShzKTsKICAgIH0KCiAgICBwdWJsaWMgdm9pZCBwcmludFN0YWNrVHJhY2UoUHJpbnRXcml0ZXIgcykgewogICAgICAgIGlvZXgucHJpbnRTdGFja1RyYWNlKHMpOwogICAgfQoKICAgIHB1YmxpYyBUaHJvd2FibGUgZmlsbEluU3RhY2tUcmFjZSgpIHsKICAgICAgICByZXR1cm4gaW9leC5maWxsSW5TdGFja1RyYWNlKCk7CiAgICB9CgogICAgcHVibGljIFN0YWNrVHJhY2VFbGVtZW50W10gZ2V0U3RhY2tUcmFjZSgpIHsKICAgICAgICByZXR1cm4gaW9leC5nZXRTdGFja1RyYWNlKCk7CiAgICB9CgogICAgcHVibGljIHZvaWQgc2V0U3RhY2tUcmFjZShTdGFja1RyYWNlRWxlbWVudFtdIHN0YWNrVHJhY2UpIHsKICAgICAgICBpb2V4LnNldFN0YWNrVHJhY2Uoc3RhY2tUcmFjZSk7CiAgICB9Cn0K