convex.core.exceptions.Panic Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of convex-core Show documentation
Show all versions of convex-core Show documentation
Convex core libraries and common utilities
The newest version!
package convex.core.exceptions;
/**
* Class representing an unexpected error that should halt the system
*
* Should not usually be caught
*/
@SuppressWarnings("serial")
public class Panic extends Error {
public Panic(String message, Throwable cause) {
super(message,cause);
}
public Panic(String message) {
this(message,null);
}
public Panic(Throwable cause) {
this(null,cause);
}
}