Tweak some javadoc.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/gxREST@178786 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Manuele Simi 2019-03-30 19:58:21 +00:00
parent 575c3daa75
commit 6eb3f608db
1 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ package org.gcube.common.gxrest.response.entity;
import org.gcube.common.gxrest.response.outbound.ErrorCode;
/**
* An entity that can be serialized in a {@link WebCodeException}.
* An entity that can be serialized in a {@link org.gcube.common.gxrest.response.outbound.WebCodeException}.
*
* @author Manuele Simi (ISTI CNR)
*
@ -18,8 +18,7 @@ public class SerializableErrorEntity {
public SerializableErrorEntity() {}
/**
* @param id
* @param message
* @param errorCode the errorc code to serialize
*/
public SerializableErrorEntity(ErrorCode errorCode) {
this.id = errorCode.getId();
@ -28,7 +27,7 @@ public class SerializableErrorEntity {
/**
*
* @param e
* @param e the exception to serialize
*/
public SerializableErrorEntity(Exception e) {
this.exceptionClass = e.getClass().getCanonicalName();
@ -37,7 +36,8 @@ public class SerializableErrorEntity {
/**
*
* @param e
* @param e the exception to serialize
* @param lines the number of lines in the stacktrace to serialize
*/
public SerializableErrorEntity(Exception e, int lines) {
this.exceptionClass = e.getClass().getCanonicalName();