001    /*
002     * $Id: SuppressExceptionWarning.java,v 1.1 2012/08/12 17:48:48 oboehm Exp $
003     *
004     * Copyright (c) 2012 by Oliver Boehm
005     *
006     * Licensed under the Apache License, Version 2.0 (the "License");
007     * you may not use this file except in compliance with the License.
008     * You may obtain a copy of the License at
009     *
010     *   http://www.apache.org/licenses/LICENSE-2.0
011     *
012     * Unless required by applicable law or agreed to in writing, software
013     * distributed under the License is distributed on an "AS IS" BASIS,
014     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express orimplied.
015     * See the License for the specific language governing permissions and
016     * limitations under the License.
017     *
018     * (c)reated 12.08.2012 by oliver (ob@oasd.de)
019     */
020    
021    package patterntesting.annotation.check.ct;
022    
023    import java.lang.annotation.*;
024    
025    /**
026     * You can use this annotation to suppress warnings about declaring an
027     * unspecified {@link Exception} or {@link Throwable} for methods or
028     * constructors. Or warnings if you try to throw an unspecific
029     * {@link Throwable}, {@link Exception} or {@link RuntimeException}.
030     * 
031     * @author oliver (ob@aosd.de)
032     * @since 1.3 (12.08.2012)
033     * @version $Revision: 1.1 $
034     */
035    @Target({ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE})
036    @Retention(RetentionPolicy.RUNTIME)
037    public @interface SuppressExceptionWarning {
038    
039    }
040