org.nakedobjects.plugins.headless.viewer.internal.RuntimeExceptionWrapper Maven / Gradle / Ivy
package org.nakedobjects.plugins.headless.viewer.internal;
public class RuntimeExceptionWrapper extends RuntimeException {
private static final long serialVersionUID = 1L;
private final RuntimeException runtimeException;
public RuntimeExceptionWrapper(final RuntimeException runtimeException) {
this.runtimeException = runtimeException;
}
public RuntimeException getRuntimeException() {
return runtimeException;
}
}