All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jolira.st4j.jdk14.JDK14LThrowableAdapter Maven / Gradle / Ivy

Go to download

A client library for the Server Tracker. (http://github.com/jolira/server-tracker)

There is a newer version: 1.1.1
Show newest version
/**
 * 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