#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.
|
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).
|
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
|
## [v1.6.0] - 2022-05-25
|
||||||
|
|
||||||
#### Bug fixes
|
#### Bug fixes
|
||||||
|
|
4
pom.xml
4
pom.xml
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<groupId>org.gcube.portlets.widgets</groupId>
|
<groupId>org.gcube.portlets.widgets</groupId>
|
||||||
<artifactId>grsf-manage-widget</artifactId>
|
<artifactId>grsf-manage-widget</artifactId>
|
||||||
<version>1.6.0</version>
|
<version>1.6.1-SNAPSHOT</version>
|
||||||
<name>gCube GRSF Manage widget</name>
|
<name>gCube GRSF Manage widget</name>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.distribution</groupId>
|
<groupId>org.gcube.distribution</groupId>
|
||||||
<artifactId>maven-portal-bom</artifactId>
|
<artifactId>maven-portal-bom</artifactId>
|
||||||
<version>3.6.1</version>
|
<version>3.6.4</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -1,35 +1,40 @@
|
||||||
package org.gcube.datacatalogue.grsf_manage_widget.shared.ex;
|
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.
|
* The Class GRSFRecordAlreadyManagedStatusException.
|
||||||
*
|
*
|
||||||
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
* @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 static final long serialVersionUID = -2034802685606929315L;
|
||||||
private Status status;
|
private Status status;
|
||||||
|
|
||||||
|
public GRSFRecordAlreadyManagedStatusException() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instantiates a new GRSF record already managed status exception.
|
* Instantiates a new GRSF record already managed status exception.
|
||||||
*
|
*
|
||||||
* @param theStatus the the status
|
* @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);
|
super(arg0);
|
||||||
this.status = theStatus;
|
this.status = theStatus;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the status.
|
* Gets the status.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
package org.gcube.datacatalogue.grsf_manage_widget.shared.ex;
|
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
|
* This is thrown when the Manage product is pushed on a product that has a
|
||||||
* a Record Type field of Source or none.
|
* Record Type field of Source or none.
|
||||||
* @author Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
|
*
|
||||||
|
* @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 static final long serialVersionUID = 721315478405659218L;
|
||||||
private String errorMessage;
|
private String errorMessage;
|
||||||
|
|
Loading…
Reference in New Issue