Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ipaaca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Social Cognitive Systems
ipaaca
Commits
3a80dfe0
Commit
3a80dfe0
authored
9 years ago
by
Hendrik Buschmeier
Browse files
Options
Downloads
Patches
Plain Diff
Added IURetractedError.
parent
1824766c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ipaacalib/python/src/ipaaca/exception.py
+11
-3
11 additions, 3 deletions
ipaacalib/python/src/ipaaca/exception.py
with
11 additions
and
3 deletions
ipaacalib/python/src/ipaaca/exception.py
+
11
−
3
View file @
3a80dfe0
...
...
@@ -4,7 +4,7 @@
# "Incremental Processing Architecture
# for Artificial Conversational Agents".
#
# Copyright (c) 2009-201
4
Social Cognitive Systems Group
# Copyright (c) 2009-201
5
Social Cognitive Systems Group
# CITEC, Bielefeld University
#
# http://opensource.cit-ec.de/projects/ipaaca/
...
...
@@ -82,13 +82,21 @@ class IUPublishedError(IpaacaError):
class
IUReadOnlyError
(
IpaacaError
):
"""
Error indicating that an IU is immutable because it is
'
read only
'
.
"""
def
__init__
(
self
,
iu
):
super
(
IUReadOnlyError
,
self
).
__init__
(
'
Writing to IU
'
+
str
(
iu
.
uid
)
+
'
failed -- it is read-only.
'
)
super
(
IUReadOnlyError
,
self
).
__init__
(
'
Writing to IU
'
+
str
(
iu
.
uid
)
+
'
failed -- it is read-only.
'
)
class
IUResendRequestFailedError
(
IpaacaError
):
"""
Error indicating that a remote IU resend failed.
"""
def
__init__
(
self
,
iu
):
super
(
IUResendFailedError
,
self
).
__init__
(
'
Remote resend failed for IU
'
+
str
(
iu
.
uid
)
+
'
.
'
)
super
(
IUResendRequestFailedError
,
self
).
__init__
(
'
Remote resend failed for IU
'
+
str
(
iu
.
uid
)
+
'
.
'
)
class
IURetractedError
(
IpaacaError
):
"""
Error indicating that an IU has been retracted.
"""
def
__init__
(
self
,
iu
):
super
(
IURetractedError
,
self
).
__init__
(
'
Writing to IU
'
+
str
(
iu
.
uid
)
+
'
failed -- it has been retracted.
'
)
class
IUUpdateFailedError
(
IpaacaError
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment