• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package junit.framework;
2 
3 /**
4  * Thrown when an assertion failed.
5  */
6 public class AssertionFailedError extends AssertionError {
7 
8 	private static final long serialVersionUID= 1L;
9 
AssertionFailedError()10 	public AssertionFailedError() {
11 	}
12 
AssertionFailedError(String message)13 	public AssertionFailedError(String message) {
14 		super(defaultString(message));
15 	}
16 
defaultString(String message)17 	private static String defaultString(String message) {
18 		return message == null ? "" : message;
19 	}
20 }