jdk/src/share/classes/sun/net/smtp/SmtpClient.java
changeset 10419 12c063b39232
parent 5506 202f599c92aa
child 14342 8435a30053c1
equal deleted inserted replaced
10418:1d57022fdb6e 10419:12c063b39232
   132     public PrintStream startMessage() throws IOException {
   132     public PrintStream startMessage() throws IOException {
   133         issueCommand("data\r\n", 354);
   133         issueCommand("data\r\n", 354);
   134         try {
   134         try {
   135             message = new SmtpPrintStream(serverOutput, this);
   135             message = new SmtpPrintStream(serverOutput, this);
   136         } catch (UnsupportedEncodingException e) {
   136         } catch (UnsupportedEncodingException e) {
   137             throw new InternalError(encoding+" encoding not found");
   137             throw new InternalError(encoding+" encoding not found", e);
   138         }
   138         }
   139         return message;
   139         return message;
   140     }
   140     }
   141 
   141 
   142     void closeMessage() throws IOException {
   142     void closeMessage() throws IOException {