21 lines
424 B
Java
21 lines
424 B
Java
package org.gcube.resourcemanagement.manager.io.codeexceptions;
|
|
|
|
import javax.ws.rs.core.GenericEntity;
|
|
|
|
/**
|
|
* An entity to wrapf {@link SerializableErrorEntity}s into a {@link WebCodeException}.
|
|
*
|
|
* @author Manuele Simi (ISTI CNR)
|
|
*
|
|
*/
|
|
public class CodeEntity extends GenericEntity<SerializableErrorEntity> {
|
|
|
|
/**
|
|
* @param entity
|
|
*/
|
|
protected CodeEntity(SerializableErrorEntity entity) {
|
|
super(entity);
|
|
}
|
|
|
|
}
|