
com.sourcegraph.scip_semanticdb.MessageOnlyException Maven / Gradle / Ivy
package com.sourcegraph.scip_semanticdb;
/**
* Exception that doesn't fill out the stack trace, it only prints out the message.
*
* Use this exception if you want prettier console output without stack trace noise.
*/
public class MessageOnlyException extends Throwable {
public MessageOnlyException(String message) {
super(message);
}
@Override
public synchronized Throwable fillInStackTrace() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy