wtf.metio.memoization.core.WrappedException Maven / Gradle / Ivy
The newest version!
/*
* SPDX-FileCopyrightText: The memoization.java Authors
* SPDX-License-Identifier: 0BSD
*/
package wtf.metio.memoization.core;
import edu.umd.cs.findbugs.annotations.CheckReturnValue;
import java.io.Serial;
public final class WrappedException extends RuntimeException {
@Serial
private static final long serialVersionUID = -509533184888867075L;
private final Exception wrappedException;
public WrappedException(final Exception wrappedException) {
this.wrappedException = wrappedException;
}
@CheckReturnValue
public Exception wrappedException() {
return wrappedException;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy