X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fbindings%2Frmr-python%2Frmr%2Fexceptions.py;h=c1f1a887368e4b65a958cf51524cd4fbe94e658d;hb=5cdf7b5b9aa45769a880be0943b80f6ef7ed09b4;hp=f427b7fe94636ca4b472057d3a2dd0a99040d071;hpb=67bbe087d505cd179e1c5bb9ef6be2c60b2e7d5a;p=ric-plt%2Flib%2Frmr.git diff --git a/src/bindings/rmr-python/rmr/exceptions.py b/src/bindings/rmr-python/rmr/exceptions.py index f427b7f..c1f1a88 100644 --- a/src/bindings/rmr-python/rmr/exceptions.py +++ b/src/bindings/rmr-python/rmr/exceptions.py @@ -1,6 +1,6 @@ # ================================================================================== -# Copyright (c) 2019 Nokia -# Copyright (c) 2018-2019 AT&T Intellectual Property. +# Copyright (c) 2019-2020 Nokia +# Copyright (c) 2018-2020 AT&T Intellectual Property. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,3 +21,11 @@ Custom Exceptions class BadBufferAllocation(BaseException): """a bad buffer was allocated, check the rmr context""" + + +class MeidSizeOutOfRange(BaseException): + """an attempt to set the MEID with a buffer that was too large""" + + +class InitFailed(BaseException): + """rmr init failure, the context is unusable"""