All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.whispersystems.libaxolotl.j2me.NestedException Maven / Gradle / Ivy

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