projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix native charms for feature 7928
[osm/N2VC.git]
/
n2vc
/
exceptions.py
diff --git
a/n2vc/exceptions.py
b/n2vc/exceptions.py
index
35962b2
..
4b83e3f
100644
(file)
--- a/
n2vc/exceptions.py
+++ b/
n2vc/exceptions.py
@@
-40,14
+40,6
@@
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
@@
-115,7
+107,6
@@
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
@@
-126,4
+117,3
@@
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__())
-