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

com.google.gwt.emul.java.lang.SecurityException Maven / Gradle / Ivy

The newest version!
package java.lang;

public class SecurityException extends RuntimeException {

    private static final long serialVersionUID = 6878364983674394167L;

    /**
     * Constructs a SecurityException with no detail  message.
     */
    public SecurityException() {
  super();
    }

    /**
     * Constructs a SecurityException with the specified 
     * detail message. 
     *
     * @param   s   the detail message.
     */
    public SecurityException(String s) {
  super(s);
    }

    /**
     * Creates a SecurityException with the specified
     * detail message and cause.
     *
     * @param message the detail message (which is saved for later retrieval
     *        by the {@link #getMessage()} method).
     * @param cause the cause (which is saved for later retrieval by the
     *        {@link #getCause()} method).  (A null value is permitted,
     *        and indicates that the cause is nonexistent or unknown.)
     * @since 1.5
     */
    public SecurityException(String message, Throwable cause) {
  super(message, cause);
    }

    /**
     * Creates a SecurityException with the specified cause
     * and a detail message of (cause==null ? null : cause.toString())
     * (which typically contains the class and detail message of
     * cause).
     *
     * @param cause the cause (which is saved for later retrieval by the
     *        {@link #getCause()} method).  (A null value is permitted,
     *        and indicates that the cause is nonexistent or unknown.)
     * @since 1.5
     */
    public SecurityException(Throwable cause) {
  super(cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy