blob: 3df905395c0ba28a1ba56198fbc32f5d163a85ca [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* 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 {
}
}