com.jolira.st4j.jdk14.JDK14LThrowableAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of server-tracker-4j Show documentation
Show all versions of server-tracker-4j Show documentation
A client library for the Server Tracker. (http://github.com/jolira/server-tracker)
/**
* Copyright (c) 2011 jolira. All rights reserved. This program and the accompanying materials are made available under
* the terms of the GNU Public License 2.0 which is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
package com.jolira.st4j.jdk14;
import com.jolira.st4j.Throwable;
/**
* An adapter for {@link java.lang.Throwable}.
*
* @author jfk
* @date Aug 19, 2011 12:44:59 PM
* @since 1.0
*
*/
public class JDK14LThrowableAdapter extends Throwable {
/**
* Create a new adapter.
*
* @param exception
* the exception that was thrown
*/
public JDK14LThrowableAdapter(final java.lang.Throwable exception) {
super(exception.getClass().toString(), exception.getMessage(), exception.getStackTrace());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy