New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 684183 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Email to this user bounced
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 669725



Sign in to add a comment

[Predator] Define predator-specific exception type.

Project Member Reported by kateso...@chromium.org, Jan 24 2017

Issue description

[Predator] Define predator-specific exception type.

Currently, predator is using ``Exception`` in many places, we will have better exception handling if we define predator-specific exception types.
 
Blocking: 669725
Cc: cweakliam@google.com
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb

commit 40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb
Author: Cathal Weakliam <cweakliam@google.com>
Date: Fri Jun 02 22:18:00 2017

Create a custom Predator-specific exception type.

This CL defines the PredatorError exception, and replaces code that
previously raised Exception to instead raise this more specific custom
exception. PredatorError can be used as a base class to define more
specific exceptions as needed.

R=katesonia@google.com

Bug:  684183 
Change-Id: I8135398f2fef56674e3dfa3783d7ef831efedbe6
Reviewed-on: https://chromium-review.googlesource.com/522891
Commit-Queue: Cathal Weakliam <cweakliam@google.com>
Reviewed-by: Sharu Jiang <katesonia@chromium.org>

[modify] https://crrev.com/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb/appengine/predator/common/crash_pipeline.py
[add] https://crrev.com/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb/appengine/predator/common/exceptions.py
[modify] https://crrev.com/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb/appengine/predator/analysis/linear/training.py

Project Member

Comment 4 by bugdroid1@chromium.org, Jun 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb

commit 40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb
Author: Cathal Weakliam <cweakliam@google.com>
Date: Fri Jun 02 22:18:00 2017

Create a custom Predator-specific exception type.

This CL defines the PredatorError exception, and replaces code that
previously raised Exception to instead raise this more specific custom
exception. PredatorError can be used as a base class to define more
specific exceptions as needed.

R=katesonia@google.com

Bug:  684183 
Change-Id: I8135398f2fef56674e3dfa3783d7ef831efedbe6
Reviewed-on: https://chromium-review.googlesource.com/522891
Commit-Queue: Cathal Weakliam <cweakliam@google.com>
Reviewed-by: Sharu Jiang <katesonia@chromium.org>

[modify] https://crrev.com/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb/appengine/predator/common/crash_pipeline.py
[add] https://crrev.com/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb/appengine/predator/common/exceptions.py
[modify] https://crrev.com/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb/appengine/predator/analysis/linear/training.py

Project Member

Comment 5 by bugdroid1@chromium.org, Jun 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb

commit 40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb
Author: Cathal Weakliam <cweakliam@google.com>
Date: Fri Jun 02 22:18:00 2017

Create a custom Predator-specific exception type.

This CL defines the PredatorError exception, and replaces code that
previously raised Exception to instead raise this more specific custom
exception. PredatorError can be used as a base class to define more
specific exceptions as needed.

R=katesonia@google.com

Bug:  684183 
Change-Id: I8135398f2fef56674e3dfa3783d7ef831efedbe6
Reviewed-on: https://chromium-review.googlesource.com/522891
Commit-Queue: Cathal Weakliam <cweakliam@google.com>
Reviewed-by: Sharu Jiang <katesonia@chromium.org>

[modify] https://crrev.com/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb/appengine/predator/common/crash_pipeline.py
[add] https://crrev.com/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb/appengine/predator/common/exceptions.py
[modify] https://crrev.com/40157ffd0b7b1be25f028a5cc24fdba7cd77fbcb/appengine/predator/analysis/linear/training.py

Owner: cweakliam@google.com
Status: Fixed (was: Available)

Sign in to add a comment