diff --git a/IPython/core/error.py b/IPython/core/error.py index 25ff887..5346498 100644 --- a/IPython/core/error.py +++ b/IPython/core/error.py @@ -13,7 +13,7 @@ Notes """ #----------------------------------------------------------------------------- -# Copyright (C) 2008-2011 The IPython Development Team +# Copyright (C) 2008 The IPython Development Team # # Distributed under the terms of the BSD License. The full license is in # the file COPYING, distributed as part of this software. diff --git a/IPython/parallel/error.py b/IPython/parallel/error.py index c7f0170..ad9824b 100644 --- a/IPython/parallel/error.py +++ b/IPython/parallel/error.py @@ -40,125 +40,19 @@ class IPythonError(Exception): pass -# Exceptions associated with the controller objects -class ControllerError(IPythonError): pass - -class ControllerCreationError(ControllerError): pass - - -# Exceptions associated with the Engines -class EngineError(IPythonError): pass - -class EngineCreationError(EngineError): pass - class KernelError(IPythonError): pass -class NotDefined(KernelError): - def __init__(self, name): - self.name = name - self.args = (name,) - - def __repr__(self): - return '' % self.name - - __str__ = __repr__ - - -class QueueCleared(KernelError): - pass - - -class IdInUse(KernelError): - pass - - -class ProtocolError(KernelError): - pass - - -class ConnectionError(KernelError): - pass - - -class InvalidEngineID(KernelError): - pass class NoEnginesRegistered(KernelError): pass -class InvalidClientID(KernelError): - pass - - -class InvalidDeferredID(KernelError): - pass - - -class SerializationError(KernelError): - pass - - -class MessageSizeError(KernelError): - pass - - -class PBMessageSizeError(MessageSizeError): - pass - - -class ResultNotCompleted(KernelError): - pass - - -class ResultAlreadyRetrieved(KernelError): - pass - -class ClientError(KernelError): - pass - - class TaskAborted(KernelError): pass -class TaskTimeout(KernelError): - pass - - -class NotAPendingResult(KernelError): - pass - - -class UnpickleableException(KernelError): - pass - - -class AbortedPendingDeferredError(KernelError): - pass - - -class InvalidProperty(KernelError): - pass - - -class MissingBlockArgument(KernelError): - pass - - -class StopLocalExecution(KernelError): - pass - - -class SecurityError(KernelError): - pass - - -class FileTimeoutError(KernelError): - pass - class TimeoutError(KernelError): pass