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

s.java.lang.Error Maven / Gradle / Ivy

There is a newer version: 0.9.6
Show newest version
package s.java.lang;

import i.IInstrumentation;


/**
 * Our shadow implementation of java.lang.Error.
 * 
 * This only exists as an intermediary since we needed to implement AssertionError.
 */
public class Error extends Throwable {
    static {
        // Shadow classes MUST be loaded during bootstrap phase.
        IInstrumentation.attachedThreadInstrumentation.get().bootstrapOnly();
    }

    public Error() {
        super();
    }

    public Error(String message) {
        super(message);
    }

    public Error(String message, Throwable cause) {
        super(message, cause);
    }

    public Error(Throwable cause) {
        super(cause);
    }

    // Deserializer support.
    public Error(java.lang.Void ignore, int readIndex) {
        super(ignore, readIndex);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy