8054877: javadoc issues in javax.print

Fixes "no @throws or @exception tag" issues in javax.print.

Reviewed-by: prr
This commit is contained in:
Anisha Nagarajan 2014-09-22 11:23:19 +04:00 committed by Yuri Nesterenko
parent 686ab34a2e
commit ada2c75772

View File

@ -610,6 +610,9 @@ public class DocFlavor implements Serializable, Cloneable {
/**
* Write the instance to a stream (ie serialize the object).
*
* @throws IOException if I/O errors occur while writing to the underlying
* stream
*/
private void writeObject(ObjectOutputStream s) throws IOException {
@ -620,6 +623,10 @@ public class DocFlavor implements Serializable, Cloneable {
/**
* Reconstitute an instance from a stream (that is, deserialize it).
*
* @throws ClassNotFoundException if the class of a serialized object could
* not be found.
* @throws IOException if I/O errors occur while reading from the underlying
* stream
* @serialData
* The serialised form of a DocFlavor is the String naming the
* representation class followed by the String representing the canonical