refactor: add serialVersionUID field to exception classes
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
defbce0782
commit
15ee202167
@ -23,4 +23,5 @@ package de.stklcode.jvault.connector.exception;
|
|||||||
* @since 0.1
|
* @since 0.1
|
||||||
*/
|
*/
|
||||||
public class AuthorizationRequiredException extends VaultConnectorException {
|
public class AuthorizationRequiredException extends VaultConnectorException {
|
||||||
|
private static final long serialVersionUID = 2629577936657393880L;
|
||||||
}
|
}
|
||||||
|
@ -23,6 +23,8 @@ package de.stklcode.jvault.connector.exception;
|
|||||||
* @since 0.1
|
* @since 0.1
|
||||||
*/
|
*/
|
||||||
public class ConnectionException extends VaultConnectorException {
|
public class ConnectionException extends VaultConnectorException {
|
||||||
|
private static final long serialVersionUID = 3005430116002990418L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new empty exception.
|
* Constructs a new empty exception.
|
||||||
*/
|
*/
|
||||||
|
@ -23,6 +23,8 @@ package de.stklcode.jvault.connector.exception;
|
|||||||
* @since 0.1
|
* @since 0.1
|
||||||
*/
|
*/
|
||||||
public class InvalidRequestException extends VaultConnectorException {
|
public class InvalidRequestException extends VaultConnectorException {
|
||||||
|
private static final long serialVersionUID = -6712239648281809159L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new empty exception.
|
* Constructs a new empty exception.
|
||||||
*/
|
*/
|
||||||
|
@ -24,6 +24,8 @@ package de.stklcode.jvault.connector.exception;
|
|||||||
* @since 0.1
|
* @since 0.1
|
||||||
*/
|
*/
|
||||||
public final class InvalidResponseException extends VaultConnectorException {
|
public final class InvalidResponseException extends VaultConnectorException {
|
||||||
|
private static final long serialVersionUID = 2003151038614163479L;
|
||||||
|
|
||||||
private final Integer statusCode;
|
private final Integer statusCode;
|
||||||
private final String response;
|
private final String response;
|
||||||
|
|
||||||
|
@ -23,6 +23,8 @@ package de.stklcode.jvault.connector.exception;
|
|||||||
* @since 0.1
|
* @since 0.1
|
||||||
*/
|
*/
|
||||||
public class PermissionDeniedException extends VaultConnectorException {
|
public class PermissionDeniedException extends VaultConnectorException {
|
||||||
|
private static final long serialVersionUID = -7149134015090750776L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new empty exception.
|
* Constructs a new empty exception.
|
||||||
*/
|
*/
|
||||||
|
@ -23,6 +23,8 @@ package de.stklcode.jvault.connector.exception;
|
|||||||
* @since 0.4.0
|
* @since 0.4.0
|
||||||
*/
|
*/
|
||||||
public class TlsException extends VaultConnectorException {
|
public class TlsException extends VaultConnectorException {
|
||||||
|
private static final long serialVersionUID = -5139276834988258086L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new empty exception.
|
* Constructs a new empty exception.
|
||||||
*/
|
*/
|
||||||
|
@ -23,6 +23,8 @@ package de.stklcode.jvault.connector.exception;
|
|||||||
* @since 0.1
|
* @since 0.1
|
||||||
*/
|
*/
|
||||||
public abstract class VaultConnectorException extends Exception {
|
public abstract class VaultConnectorException extends Exception {
|
||||||
|
private static final long serialVersionUID = -2612477894310906036L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new empty exception.
|
* Constructs a new empty exception.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user