Import GNU Classpath (20121202).
2012-12-19 Matthias Klose <doko@ubuntu.com> Import GNU Classpath (20121202). * Regenerate class and header files. * Regenerate auto* files. * sources.am, gcj/javaprims.h: Regenerate. * gnu/java/nio/FileLockImpl.java (close): New override. From-SVN: r194618
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* AssertionError.java -- indication of a failed assertion
|
||||
Copyright (C) 2002, 2005 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002, 2005, 2012 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
@@ -145,4 +145,16 @@ public class AssertionError extends Error
|
||||
{
|
||||
super(Double.toString(msg));
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct an AssertionError with detail message and cause.
|
||||
*
|
||||
* @param msg Detail message.
|
||||
* @param cause The cause of this exception, may be null
|
||||
* @since 1.7
|
||||
*/
|
||||
public AssertionError(String msg, Throwable cause)
|
||||
{
|
||||
super(msg, cause);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user