-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
76 changed files
with
795 additions
and
607 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,15 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Luis Faria <[email protected]> | ||
* | ||
*/ | ||
public class AlreadyExistsException extends RODAException { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -6744205569453461540L; | ||
|
||
public AlreadyExistsException() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,15 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Tiago Fraga <[email protected]> | ||
*/ | ||
|
||
public class AlreadyHasInstanceIdentifier extends RODAException { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -6744205569453461540L; | ||
|
||
public AlreadyHasInstanceIdentifier() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,14 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Tiago Fraga <[email protected]> | ||
*/ | ||
public class DisposalHoldAlreadyExistsException extends AlreadyExistsException { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -9204333449702855127L; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,14 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Tiago Fraga <[email protected]> | ||
*/ | ||
public class DisposalHoldNotValidException extends GenericException { | ||
|
||
@Serial | ||
private static final long serialVersionUID = 2413699496731974126L; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,10 +7,13 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Tiago Fraga <[email protected]> | ||
*/ | ||
public class DisposalRuleAlreadyExistsException extends AlreadyExistsException { | ||
@Serial | ||
private static final long serialVersionUID = -4589782633937474385L; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,14 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Tiago Fraga <[email protected]> | ||
*/ | ||
public class DisposalRuleNotValidException extends GenericException { | ||
|
||
@Serial | ||
private static final long serialVersionUID = 2413699496731974126L; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,14 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Tiago Fraga <[email protected]> | ||
*/ | ||
public class DisposalScheduleAlreadyExistsException extends AlreadyExistsException { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -4589782633937474385L; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,10 +7,13 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Tiago Fraga <[email protected]> | ||
*/ | ||
public class DisposalScheduleNotValidException extends GenericException { | ||
@Serial | ||
private static final long serialVersionUID = 809098516488134186L; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,16 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* Thrown to indicate that was not possible to authenticate {@link User} because | ||
* it's email address is not verified. | ||
* | ||
* @author Rui Castro <[email protected]> | ||
*/ | ||
public class EmailUnverifiedException extends AuthenticationDeniedException { | ||
@Serial | ||
private static final long serialVersionUID = 4619089972230221210L; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,13 +9,16 @@ | |
|
||
import org.roda.core.data.v2.user.User; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* Thrown to indicate that was not possible to authenticate {@link User} because | ||
* it is not active. | ||
* | ||
* @author Rui Castro <[email protected]> | ||
*/ | ||
public class InactiveUserException extends AuthenticationDeniedException { | ||
@Serial | ||
private static final long serialVersionUID = -1893919532523481577L; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,14 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Luis Faria <[email protected]> | ||
* | ||
*/ | ||
public class InstanceIdNotUpdated extends RODAException { | ||
@Serial | ||
private static final long serialVersionUID = -1656013708463576500L; | ||
|
||
public InstanceIdNotUpdated() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,15 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Hélder Silva <[email protected]> | ||
* | ||
*/ | ||
public class JobAlreadyStartedException extends JobException { | ||
|
||
@Serial | ||
private static final long serialVersionUID = -6744205569453461540L; | ||
|
||
public JobAlreadyStartedException() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,14 @@ | |
*/ | ||
package org.roda.core.data.exceptions; | ||
|
||
import java.io.Serial; | ||
|
||
/** | ||
* @author Hélder Silva <[email protected]> | ||
* | ||
*/ | ||
public class JobInErrorException extends JobException { | ||
@Serial | ||
private static final long serialVersionUID = 668519344542236907L; | ||
|
||
public JobInErrorException() { | ||
|
Oops, something went wrong.