langtools/test/jdk/javadoc/tool/sampleapi/lib/sampleapi/SampleApi.java
changeset 37641 6949903ba85a
parent 35426 374342e56a56
child 38838 3d6ea76b35d6
equal deleted inserted replaced
37640:42e5136a367c 37641:6949903ba85a
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    51 
    51 
    52     public static class Fault extends Exception {
    52     public static class Fault extends Exception {
    53         public Fault(String msg) {
    53         public Fault(String msg) {
    54             super(msg);
    54             super(msg);
    55         }
    55         }
       
    56         public Fault(String msg, Throwable th) {
       
    57             super(msg, th);
       
    58         }
    56     }
    59     }
    57 }
    60 }