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

io.infinicast.InfinicastExceptionHelper Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package io.infinicast;

import java.io.PrintWriter;
import java.io.StringWriter;

/**
 * Created by ocean on 16.11.2016.
 */
public class InfinicastExceptionHelper {
    public static String ExceptionToString(Exception x) {
        StringWriter sw = new StringWriter();
        x.printStackTrace(new PrintWriter(sw));
        return sw.toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy