mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
16 lines
314 B
Java
16 lines
314 B
Java
class A {
|
|
private Object b = new MyException("w");
|
|
|
|
private class <caret>MyException implements Runnable {
|
|
public MyException(String...msg){
|
|
this(new Throwable(), msg[0]);
|
|
}
|
|
|
|
public MyException(Throwable t, String msg)
|
|
{
|
|
System.out.println(msg);
|
|
}
|
|
|
|
public void run(){}
|
|
}
|
|
} |