All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eurodyn.qlack.commons.exception.ExceptionCodeAdapter Maven / Gradle / Ivy

There is a newer version: 1.7.5
Show newest version
/*
 */

package com.eurodyn.qlack.commons.exception;

import com.eurodyn.qlack.commons.exception.QlackException.ExceptionCode;
import javax.xml.bind.annotation.adapters.XmlAdapter;

/**
 * @author European Dynamics SA
 */
class ExceptionCodeAdapter extends XmlAdapter {

  /**
   * Convert an ExceptionCodeImpl to ExceptionCode.
   */
  @Override
  public ExceptionCode unmarshal(ExceptionCodeImpl obj1) {
    return (ExceptionCode) obj1;
  }

  /**
   * Convert an ExceptionCode to ExceptionCodeImpl.
   */
  @Override
  public ExceptionCodeImpl marshal(ExceptionCode obj1) {
    return (ExceptionCodeImpl) obj1;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy