langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/RawHtml.java
changeset 40587 1c355ea550ed
parent 40303 96a1226aca18
child 44297 e03f5fb3714b
equal deleted inserted replaced
40519:e17429a7e843 40587:1c355ea550ed
    27 
    27 
    28 import java.io.IOException;
    28 import java.io.IOException;
    29 import java.io.Writer;
    29 import java.io.Writer;
    30 
    30 
    31 import jdk.javadoc.internal.doclets.toolkit.Content;
    31 import jdk.javadoc.internal.doclets.toolkit.Content;
    32 import jdk.javadoc.internal.doclets.toolkit.util.DocletAbortException;
       
    33 import jdk.javadoc.internal.doclets.toolkit.util.DocletConstants;
    32 import jdk.javadoc.internal.doclets.toolkit.util.DocletConstants;
    34 
    33 
    35 /**
    34 /**
    36  * Class for generating raw HTML content to be added to HTML pages of javadoc output.
    35  * Class for generating raw HTML content to be added to HTML pages of javadoc output.
    37  *
    36  *
    59 
    58 
    60     /**
    59     /**
    61      * This method is not supported by the class.
    60      * This method is not supported by the class.
    62      *
    61      *
    63      * @param content content that needs to be added
    62      * @param content content that needs to be added
    64      * @throws DocletAbortException this method will always throw a
    63      * @throws UnsupportedOperationException always
    65      *                              DocletAbortException because it
       
    66      *                              is not supported.
       
    67      */
    64      */
    68     public void addContent(Content content) {
    65     public void addContent(Content content) {
    69         throw new DocletAbortException("not supported");
    66         throw new UnsupportedOperationException();
    70     }
    67     }
    71 
    68 
    72     /**
    69     /**
    73      * This method is not supported by the class.
    70      * This method is not supported by the class.
    74      *
    71      *
    75      * @param stringContent string content that needs to be added
    72      * @param stringContent string content that needs to be added
    76      * @throws DocletAbortException this method will always throw a
    73      * @throws UnsupportedOperationException always
    77      *                              DocletAbortException because it
       
    78      *                              is not supported.
       
    79      */
    74      */
    80     @Override
    75     @Override
    81     public void addContent(CharSequence stringContent) {
    76     public void addContent(CharSequence stringContent) {
    82         throw new DocletAbortException("not supported");
    77         throw new UnsupportedOperationException();
    83     }
    78     }
    84 
    79 
    85     /**
    80     /**
    86      * {@inheritDoc}
    81      * {@inheritDoc}
    87      */
    82      */