@Test(expected = UnsupportedOperationException.class) public void writeTo() throws Exception { final TDPException tdpException = new TDPException(UNEXPECTED_EXCEPTION); tdpException.writeTo(new StringWriter()); }
@Override @Deprecated public void writeTo(Writer writer) { throw new UnsupportedOperationException("Not supported."); }
TDPException extends TalendRuntimeException { @Override @Deprecated public void writeTo(Writer writer) { throw new UnsupportedOperationException("Not supported."); } }
TDPException extends TalendRuntimeException { @Override @Deprecated public void writeTo(Writer writer) { throw new UnsupportedOperationException("Not supported."); } TDPException();  TDPException(ErrorCode code, Throwable cause, String message, String messageTitle,
            ExceptionContext context);  TDPException(ErrorCode code, Throwable cause, ExceptionContext context);  TDPException(ErrorCode code, Throwable cause);  TDPException(ErrorCode code, ExceptionContext context);  TDPException(JsonErrorCode code);  TDPException(ErrorCode code); }
TDPException extends TalendRuntimeException { @Override @Deprecated public void writeTo(Writer writer) { throw new UnsupportedOperationException("Not supported."); } TDPException();  TDPException(ErrorCode code, Throwable cause, String message, String messageTitle,
            ExceptionContext context);  TDPException(ErrorCode code, Throwable cause, ExceptionContext context);  TDPException(ErrorCode code, Throwable cause);  TDPException(ErrorCode code, ExceptionContext context);  TDPException(JsonErrorCode code);  TDPException(ErrorCode code); static RuntimeException rethrowOrWrap(Throwable throwable); static RuntimeException rethrowOrWrap(Throwable throwable, ErrorCode errorCode); @Override String getMessage(); @Override String getLocalizedMessage(); String getMessageTitle(); @Override @Deprecated void writeTo(Writer writer); }
TDPException extends TalendRuntimeException { @Override @Deprecated public void writeTo(Writer writer) { throw new UnsupportedOperationException("Not supported."); } TDPException();  TDPException(ErrorCode code, Throwable cause, String message, String messageTitle,
            ExceptionContext context);  TDPException(ErrorCode code, Throwable cause, ExceptionContext context);  TDPException(ErrorCode code, Throwable cause);  TDPException(ErrorCode code, ExceptionContext context);  TDPException(JsonErrorCode code);  TDPException(ErrorCode code); static RuntimeException rethrowOrWrap(Throwable throwable); static RuntimeException rethrowOrWrap(Throwable throwable, ErrorCode errorCode); @Override String getMessage(); @Override String getLocalizedMessage(); String getMessageTitle(); @Override @Deprecated void writeTo(Writer writer);  }