// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.logger.sentry;

public class SkipSentryException extends RuntimeException
{
    public SkipSentryException() {
    }
    
    public SkipSentryException(final Throwable cause) {
        super(cause);
    }
    
    public SkipSentryException(final String message, final Throwable cause) {
        super(message, cause);
    }
    
    public static boolean hasSkipSentry(final Throwable thrown) {
        for (Throwable throwable = thrown; throwable != null; throwable = throwable.getCause()) {
            if (throwable instanceof SkipSentryException) {
                return true;
            }
            if (throwable.getCause() == throwable) {
                return false;
            }
        }
        return false;
    }
}
