sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-1596) Sqoop2: Make ErrorCode a base class ( avoid repeated code in every connector)
Date Tue, 28 Oct 2014 05:58:34 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Veena Basavaraj updated SQOOP-1596:
-----------------------------------
    Fix Version/s: 2.0.0

> Sqoop2: Make ErrorCode a base class ( avoid repeated code in every connector)
> -----------------------------------------------------------------------------
>
>                 Key: SQOOP-1596
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1596
>             Project: Sqoop
>          Issue Type: Improvement
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 2.0.0
>
>
> {code}
> package org.apache.sqoop.common;
> /**
>  * Defines an error-code contract. Sqoop exceptions use the error code to
>  * communicate error information where possible. Each error code is associated
>  * with default message that identifies the high level information related to
>  * the underlying error condition.
>  */
> public interface ErrorCode {
>   /**
>    * @return the string representation of the error code.
>    */
>   String getCode();
>   /**
>    * @return the message associated with error code.
>    */
>   String getMessage();
> }
> {code}
> to 
> {code}
> package org.apache.sqoop.common;
> /**
>  * Defines an error-code contract. Sqoop exceptions use the error code to
>  * communicate error information where possible. Each error code is associated
>  * with default message that identifies the high level information related to
>  * the underlying error condition.
>  */
> public abstract class ErrorCode {
>   /**
>    * @return the string representation of the error code.
>    */
>   String getCode() {
>   }
>   /**
>    * @return the message associated with error code.
>    */
>   String getMessage() {
> }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message