org.junit.contrib.java.lang.system.internal.CheckExitCalled Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of system-rules Show documentation
Show all versions of system-rules Show documentation
A collection of JUnit rules for testing code which uses java.lang.System.
package org.junit.contrib.java.lang.system.internal;
public class CheckExitCalled extends SecurityException {
private static final long serialVersionUID = 159678654L;
private final Integer status;
public CheckExitCalled(int status) {
super("Tried to exit with status " + status + ".");
this.status = status;
}
public Integer getStatus() {
return status;
}
}