#23549] Fixed serialization issue on the
GRSFRecordAlreadyManagedStatusException
This commit is contained in:
parent
e17a1cb46d
commit
0335ac8b9c
|
@ -4,6 +4,12 @@
|
|||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [v1.6.1-SNAPSHOT] - 2022-06-22
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- [#23549] Fixed serialization issue on the GRSFRecordAlreadyManagedStatusException
|
||||
|
||||
## [v1.6.0] - 2022-05-25
|
||||
|
||||
#### Bug fixes
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -13,7 +13,7 @@
|
|||
|
||||
<groupId>org.gcube.portlets.widgets</groupId>
|
||||
<artifactId>grsf-manage-widget</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<version>1.6.1-SNAPSHOT</version>
|
||||
<name>gCube GRSF Manage widget</name>
|
||||
|
||||
<scm>
|
||||
|
@ -38,7 +38,7 @@
|
|||
<dependency>
|
||||
<groupId>org.gcube.distribution</groupId>
|
||||
<artifactId>maven-portal-bom</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<version>3.6.4</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
|
|
|
@ -1,35 +1,40 @@
|
|||
package org.gcube.datacatalogue.grsf_manage_widget.shared.ex;
|
||||
|
||||
import org.gcube.datacatalogue.common.enums.Status;
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.gcube.datacatalogue.common.enums.Status;
|
||||
|
||||
/**
|
||||
* The Class GRSFRecordAlreadyManagedStatusException.
|
||||
*
|
||||
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
||||
*
|
||||
* Mar 21, 2019
|
||||
* Mar 21, 2019
|
||||
*/
|
||||
public class GRSFRecordAlreadyManagedStatusException extends Exception{
|
||||
public class GRSFRecordAlreadyManagedStatusException extends Exception implements Serializable {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -2034802685606929315L;
|
||||
private Status status;
|
||||
|
||||
|
||||
public GRSFRecordAlreadyManagedStatusException() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Instantiates a new GRSF record already managed status exception.
|
||||
*
|
||||
* @param theStatus the the status
|
||||
* @param arg0 the arg 0
|
||||
* @param arg0 the arg 0
|
||||
*/
|
||||
public GRSFRecordAlreadyManagedStatusException(Status theStatus, String arg0){
|
||||
public GRSFRecordAlreadyManagedStatusException(Status theStatus, String arg0) {
|
||||
super(arg0);
|
||||
this.status = theStatus;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the status.
|
||||
*
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
package org.gcube.datacatalogue.grsf_manage_widget.shared.ex;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* This is thrown when the Manage product is pushed on a product that has
|
||||
* a Record Type field of Source or none.
|
||||
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
||||
* This is thrown when the Manage product is pushed on a product that has a
|
||||
* Record Type field of Source or none.
|
||||
*
|
||||
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
||||
*/
|
||||
public class NoGRSFRecordException extends Exception {
|
||||
public class NoGRSFRecordException extends Exception implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 721315478405659218L;
|
||||
private String errorMessage;
|
||||
|
|
Loading…
Reference in New Issue