projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'feature7928'
[osm/N2VC.git]
/
n2vc
/
exceptions.py
diff --git
a/n2vc/exceptions.py
b/n2vc/exceptions.py
index
4b83e3f
..
35962b2
100644
(file)
--- a/
n2vc/exceptions.py
+++ b/
n2vc/exceptions.py
@@
-40,6
+40,14
@@
class AuthenticationFailed(Exception):
"""The authentication for the specified user failed."""
"""The authentication for the specified user failed."""
+class InvalidCACertificate(Exception):
+ """The CA Certificate is not valid."""
+
+
+class NotImplemented(Exception):
+ """The method is not implemented."""
+
+
class N2VCException(Exception):
"""
N2VC exception base class
class N2VCException(Exception):
"""
N2VC exception base class
@@
-107,6
+115,7
@@
class N2VCExecutionException(N2VCException):
def __str__(self):
return '<{}> Error executing primitive {} failed: {}'.format(type(self), self.primitive_name, super().__str__())
def __str__(self):
return '<{}> Error executing primitive {} failed: {}'.format(type(self), self.primitive_name, super().__str__())
+
class N2VCInvalidCertificate(N2VCException):
"""
Invalid certificate
class N2VCInvalidCertificate(N2VCException):
"""
Invalid certificate
@@
-117,3
+126,4
@@
class N2VCInvalidCertificate(N2VCException):
def __str__(self):
return '<{}> Invalid certificate: {}'.format(type(self), super().__str__())
def __str__(self):
return '<{}> Invalid certificate: {}'.format(type(self), super().__str__())
+