public class ThrowableException{
public static void main(String args[]){
try{
throw new Throwable(" 这里是本人定义的异常 ");
}catch(Throwable e){
System.out.println("Caught Throwable");
System.out.println("e.getMessage(): "+e.getMessage());
System.out.println("e.toString(): "+e.toString());
System.out.println("e.printStackTrace(): ");
( 11 ) ;}}}