@@ -0,0 +1,2105 @@
+/**%0A * Copyright Microsoft Corporation%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A * http://www.apache.org/licenses/LICENSE-2.0%0A * %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage com.microsoft.windowsazure.services.media.implementation.content;%0A%0Aimport javax.xml.bind.annotation.XmlAccessType;%0Aimport javax.xml.bind.annotation.XmlAccessorType;%0Aimport javax.xml.bind.annotation.XmlElement;%0Aimport javax.xml.bind.annotation.XmlRootElement;%0A%0A/**%0A * This type maps the XML returned in the odata ATOM serialization%0A * for ErrorDetail entities.%0A * %0A */%0A%0A@XmlRootElement(name = %22error%22, namespace = Constants.ODATA_METADATA_NS)%0A@XmlAccessorType(XmlAccessType.FIELD)%0Apublic class ErrorType %7B%0A%0A    /** The code. */%0A    @XmlElement(name = %22code%22, namespace = Constants.ODATA_METADATA_NS)%0A    protected String code;%0A%0A    /** The message. */%0A    @XmlElement(name = %22message%22, namespace = Constants.ODATA_METADATA_NS)%0A    protected String message;%0A%0A    /**%0A     * Gets the code.%0A     * %0A     * @return the code%0A     */%0A    public String getCode() %7B%0A        return code;%0A    %7D%0A%0A    /**%0A     * Sets the code.%0A     * %0A     * @param code%0A     *            the id to set%0A     * @return the error type%0A     */%0A    public ErrorType setCode(String code) %7B%0A        this.code = code;%0A        return this;%0A    %7D%0A%0A    /**%0A     * Gets the message.%0A     * %0A     * @return the message%0A     */%0A    public String getMessage() %7B%0A        return message;%0A    %7D%0A%0A    /**%0A     * Sets the message.%0A     * %0A     * @param message%0A     *            the message to set%0A     * @return the error type%0A     */%0A    public ErrorType setMessage(String message) %7B%0A        this.message = message;%0A        return this;%0A    %7D%0A%0A%7D%0A

support parsing error message in media services.