-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused local exceptions #2279
Conversation
* This exception indicates a request was interrupted. | ||
* \headerfile Ice/Ice.h | ||
*/ | ||
class ICE_API OperationInterruptedException : public LocalException |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java-only local exception
* This exception indicates that a response for an unknown request ID has been received. | ||
* \headerfile Ice/Ice.h | ||
*/ | ||
class ICE_API UnknownRequestIdException : public ProtocolException |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used since at least Ice 3.7. An unknown request ID is ok as it corresponds to canceled request.
@@ -262,23 +262,6 @@ open class UnknownUserException: UnknownException { | |||
} | |||
} | |||
|
|||
/// This exception is raised if the Ice library version does not match the version in the Ice header files. | |||
open class VersionMismatchException: LocalException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a C++-only exception that doesn't apply to C++-derived mappings.
@@ -1436,23 +1385,6 @@ open class MemoryLimitException: MarshalException { | |||
} | |||
} | |||
|
|||
/// This exception is raised when a string conversion to or from UTF-8 fails during marshaling or unmarshaling. | |||
open class StringConversionException: MarshalException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a C++ decoding exception that doesn't apply to Swift and MATLAB since they perform their own string decoding without throwing this exception.
This cleanup PR removes a number of unused local exceptions.