Skip to content
Snippets Groups Projects
Commit f6e629b3 authored by dgelessus's avatar dgelessus
Browse files

Allow passing causes to all TLC4BException constructors

parent f13175f4
Branches
Tags
No related merge requests found
package de.tlc4b.exceptions;
public class LTLParseException extends TLC4BException {
public LTLParseException(String message) {
super(message);
}
public LTLParseException(String message, Throwable cause) {
super(message, cause);
}
public LTLParseException(String e) {
super(e);
public LTLParseException(Throwable cause) {
super(cause);
}
@Override
public String getError() {
return "LTLParseError";
}
}
package de.tlc4b.exceptions;
public class NotSupportedException extends TLC4BException {
public NotSupportedException(String message) {
super(message);
}
public NotSupportedException(String message, Throwable cause) {
super(message, cause);
}
public NotSupportedException(String e){
super(e);
public NotSupportedException(Throwable cause) {
super(cause);
}
@Override
......
package de.tlc4b.exceptions;
public class NotSupportedLTLFormulaException extends TLC4BException {
public NotSupportedLTLFormulaException(String message) {
super(message);
}
public NotSupportedLTLFormulaException(String message, Throwable cause) {
super(message, cause);
}
public NotSupportedLTLFormulaException(String e) {
super(e);
public NotSupportedLTLFormulaException(Throwable cause) {
super(cause);
}
@Override
public String getError() {
return "NotSupportedLTLFormula";
}
}
package de.tlc4b.exceptions;
public class ScopeException extends TLC4BException {
public ScopeException(String message) {
super(message);
}
public ScopeException(String message, Throwable cause) {
super(message, cause);
}
public ScopeException(String e){
super(e);
public ScopeException(Throwable cause) {
super(cause);
}
@Override
public String getError() {
return "ScopeException";
}
}
package de.tlc4b.exceptions;
public class SubstitutionException extends TLC4BException {
public SubstitutionException(String message) {
super(message);
}
public SubstitutionException(String message, Throwable cause) {
super(message, cause);
}
public SubstitutionException(String e) {
super(e);
public SubstitutionException(Throwable cause) {
super(cause);
}
@Override
public String getError() {
return "SubstitutionError";
}
}
package de.tlc4b.exceptions;
public abstract class TLC4BException extends RuntimeException {
protected TLC4BException(String message) {
super(message);
}
public TLC4BException(String e) {
super(e);
protected TLC4BException(String message, Throwable cause) {
super(message, cause);
}
public abstract String getError();
protected TLC4BException(Throwable cause) {
super(cause);
}
public abstract String getError();
}
package de.tlc4b.exceptions;
public class TLC4BIOException extends TLC4BException {
public TLC4BIOException(String message) {
super(message);
}
public TLC4BIOException(String message, Throwable cause) {
super(message, cause);
}
public TLC4BIOException(String e) {
super(e);
public TLC4BIOException(Throwable cause) {
super(cause);
}
@Override
public String getError() {
return "I/O Error";
}
}
package de.tlc4b.exceptions;
public class TranslationException extends TLC4BException {
public TranslationException(String message) {
super(message);
}
public TranslationException(String message, Throwable cause) {
super(message, cause);
}
public TranslationException(String e) {
super(e);
public TranslationException(Throwable cause) {
super(cause);
}
@Override
public String getError() {
return "TranslationError";
}
}
package de.tlc4b.exceptions;
public class TypeErrorException extends TLC4BException {
public TypeErrorException(String message) {
super(message);
}
public TypeErrorException(String message, Throwable cause) {
super(message, cause);
}
public TypeErrorException(String e) {
super(e);
public TypeErrorException(Throwable cause) {
super(cause);
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment