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

webit.script.exceptions.NativeSecurityException Maven / Gradle / Ivy

There is a newer version: 1.5.2
Show newest version
// Copyright (c) 2013, Webit Team. All Rights Reserved.
package webit.script.exceptions;

import java.io.PrintStream;
import java.io.PrintWriter;

/**
 *
 * @author Zqq
 */
public class NativeSecurityException extends Exception {

    public NativeSecurityException(String path) {
        super("Not accessable: ".concat(path));
    }

    @Override
    public void printStackTrace(PrintStream s) {
        synchronized (s) {
            s.println(getMessage());
        }
    }

    @Override
    public void printStackTrace(PrintWriter s) {
        synchronized (s) {
            s.println(getMessage());
        }
    }

    @Override
    public synchronized Throwable fillInStackTrace() {
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy