org.whispersystems.libaxolotl.j2me.NestedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of axolotl-j2me Show documentation
Show all versions of axolotl-j2me Show documentation
A J2ME compatible Axolotl impolementation
The newest version!
package org.whispersystems.libaxolotl.j2me;
public class NestedException extends Exception {
private final Throwable nested;
public NestedException() {
super();
this.nested = null;
}
public NestedException(String message) {
this(message, null);
}
public NestedException(Throwable parent) {
this(parent.getMessage(), parent);
}
public NestedException(String detail, Throwable parent) {
super(detail);
this.nested = parent;
}
public Throwable getNested() {
return nested;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy