
io.krakens.grok.api.exception.GrokException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-grok Show documentation
Show all versions of java-grok Show documentation
Java Grok is simple API that allows you to easily parse logs and other files (single line). With Java Grok, you can turn unstructured log and event data into structured data (JSON).
The newest version!
package io.krakens.grok.api.exception;
/**
* Signals that an {@code Grok} exception of some sort has occurred.
* This class is the general class of
* exceptions produced by failed or interrupted Grok operations.
*
* @since 0.0.4
*/
public class GrokException extends RuntimeException {
private static final long serialVersionUID = 1L;
/**
* Creates a new GrokException.
*/
public GrokException() {
super();
}
/**
* Constructs a new GrokException.
*
* @param message the reason for the exception
* @param cause the underlying Throwable that caused this exception to be thrown.
*/
public GrokException(String message, Throwable cause) {
super(message, cause);
}
/**
* Constructs a new GrokException.
*
* @param message the reason for the exception
*/
public GrokException(String message) {
super(message);
}
/**
* Constructs a new GrokException.
*
* @param cause the underlying Throwable that caused this exception to be thrown.
*/
public GrokException(Throwable cause) {
super(cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy