
org.yamcs.sle.SleException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsle Show documentation
Show all versions of jsle Show documentation
Java implementation for the SLE (Space Link Extension) protocol.
package org.yamcs.sle;
import com.beanit.jasn1.ber.types.BerType;
/**
* Generic exception thrown from the jsle classes.
*
* They can carry a asn.1 message as received from the peer.
*
* @author nm
*
*/
public class SleException extends RuntimeException {
private static final long serialVersionUID = 1L;
BerType data;
public SleException(String message, BerType data) {
super(message);
this.data = data;
}
public SleException(String message) {
super(message);
}
public String toString() {
return getMessage() + (data!=null?": "+data.toString():"");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy