blob: fb5b78713ed0e022c2b159c5518f52d8cf734241 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package c;
public class MultipleThrowableClass {
/**
* @noreference This field is not intended to be referenced by clients.
*/
public int f1 = 0;
public void m1() throws ExceptionA, ExceptionB {
}
/**
* @nooverride This method is not intended to be re-implemented or extended by clients.
* @noreference This method is not intended to be referenced by clients.
*/
public void m2() throws ExceptionA, ExceptionB {
}
/**
* @noextend This class is not intended to be subclassed by clients.
* @noinstantiate This class is not intended to be instantiated by clients.
*/
public static class ExceptionA extends Throwable {
}
/**
* @noextend This class is not intended to be subclassed by clients.
* @noinstantiate This class is not intended to be instantiated by clients.
*/
public static class ExceptionB extends Throwable {
}
}