X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fexceptions.py;h=4b83e3ffa97c79b764058eaab1f01e5255ce78f9;hp=35962b2ba2fdef4b05626f056a3722a2d3d95718;hb=ac4e0dec95b3f18b57ee176136cb9885a8f3e2e1;hpb=ca6eb9540fb659eb36f0ec9d5bbf1ebfce3f1958;ds=sidebyside diff --git a/n2vc/exceptions.py b/n2vc/exceptions.py index 35962b2..4b83e3f 100644 --- a/n2vc/exceptions.py +++ b/n2vc/exceptions.py @@ -40,14 +40,6 @@ class AuthenticationFailed(Exception): """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 @@ -115,7 +107,6 @@ class N2VCExecutionException(N2VCException): def __str__(self): return '<{}> Error executing primitive {} failed: {}'.format(type(self), self.primitive_name, super().__str__()) - class N2VCInvalidCertificate(N2VCException): """ Invalid certificate @@ -126,4 +117,3 @@ class N2VCInvalidCertificate(N2VCException): def __str__(self): return '<{}> Invalid certificate: {}'.format(type(self), super().__str__()) -