com.sourcegraph.scip_semanticdb.SignatureFormatterException Maven / Gradle / Ivy
package com.sourcegraph.scip_semanticdb;
import com.sourcegraph.semanticdb_javac.Semanticdb;
public class SignatureFormatterException extends RuntimeException {
public SignatureFormatterException(
Semanticdb.SymbolInformation symbolInformation, Throwable cause) {
super(
String.format(
"failed to format symbol '%s'\n%s", symbolInformation.getSymbol(), symbolInformation),
cause);
}
@Override
public synchronized Throwable fillInStackTrace() {
// This exception doesn't have a relevant stack trace. The cause exception
// already points to the culprit filename and line number.
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy