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

org.monarchinitiative.phenol.io.ser.SerializationException Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.monarchinitiative.phenol.io.ser;

import org.monarchinitiative.phenol.base.PhenolException;

/**
 * Thrown on problems with data serialization and deserialization.
 *
 * @author Manuel Holtgrewe
 */
public class SerializationException extends PhenolException {

  /** Serial UID for serialization. */
  private static final long serialVersionUID = 1L;

  /**
   * Constructor.
   *
   * @param message Exception message.
   * @param cause Underlying {@link Throwable}.
   */
  public SerializationException(String message, Throwable cause) {
    super(message, cause);
  }

  /**
   * Constructor.
   *
   * @param message Exception message.
   */
  public SerializationException(String message) {
    super(message);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy