mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
add error classes
This commit is contained in:
parent
a50fda1a5e
commit
4169425307
26
classpath/java/lang/IllegalAccessError.java
Normal file
26
classpath/java/lang/IllegalAccessError.java
Normal file
@ -0,0 +1,26 @@
|
||||
/* Copyright (c) 2010, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.lang;
|
||||
|
||||
/**
|
||||
* TODO : current Avian runtime doesn't check, need to be implemented.
|
||||
*
|
||||
*/
|
||||
public class IllegalAccessError extends IncompatibleClassChangeError {
|
||||
|
||||
public IllegalAccessError(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public IllegalAccessError() {
|
||||
}
|
||||
|
||||
}
|
26
classpath/java/lang/InstantiationError.java
Normal file
26
classpath/java/lang/InstantiationError.java
Normal file
@ -0,0 +1,26 @@
|
||||
/* Copyright (c) 2010, Avian Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software
|
||||
for any purpose with or without fee is hereby granted, provided
|
||||
that the above copyright notice and this permission notice appear
|
||||
in all copies.
|
||||
|
||||
There is NO WARRANTY for this software. See license.txt for
|
||||
details. */
|
||||
|
||||
package java.lang;
|
||||
|
||||
/**
|
||||
* TODO : current Avian runtime doesn't check, need to be implemented.
|
||||
*
|
||||
*/
|
||||
public class InstantiationError extends IncompatibleClassChangeError {
|
||||
|
||||
public InstantiationError(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public InstantiationError() {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user