webit.script.exceptions.NativeSecurityException Maven / Gradle / Ivy
// 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