Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TeeTime-Framework
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
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
Nelson Tavares de Sousa
TeeTime-Framework
Commits
de00950c
Commit
de00950c
authored
10 years ago
by
Nelson Tavares de Sousa
Browse files
Options
Downloads
Patches
Plain Diff
added StageException
parent
1feea311
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/changes/changes.xml
+9
-3
9 additions, 3 deletions
src/changes/changes.xml
src/main/java/teetime/framework/StageException.java
+30
-0
30 additions, 0 deletions
src/main/java/teetime/framework/StageException.java
with
39 additions
and
3 deletions
src/changes/changes.xml
+
9
−
3
View file @
de00950c
...
@@ -5,12 +5,18 @@
...
@@ -5,12 +5,18 @@
<title>
Release notes
</title>
<title>
Release notes
</title>
</properties>
</properties>
<body>
<body>
<release
version=
"Snapshot"
date=
"Daily basis"
description=
"Unstable preview of oncoming versions"
>
<release
version=
"Snapshot"
date=
"Daily basis"
<action
dev=
"ntd"
type=
"add"
issue=
"66"
>
description=
"Unstable preview of oncoming versions"
>
Created a new site to promote TeeTime.
<action
dev=
"ntd"
type=
"add"
issue=
"32"
>
Introduced a generic exception handling for stages.
</action>
</action>
</release>
</release>
<release
version=
"1.0"
date=
"Soon"
description=
"Initial release"
>
<release
version=
"1.0"
date=
"Soon"
description=
"Initial release"
>
<action
dev=
"ntd"
type=
"add"
issue=
"66"
>
Created a new site to
promote TeeTime.
</action>
<action
type=
"add"
>
<action
type=
"add"
>
Initial release of TeeTime
Initial release of TeeTime
</action>
</action>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/teetime/framework/StageException.java
0 → 100644
+
30
−
0
View file @
de00950c
package
teetime.framework
;
/**
* Represents an Exception, which is thrown by stages, if uncatched exceptions are thrown.
*
*/
public
class
StageException
extends
Exception
{
/**
* Generated UID
*/
private
static
final
long
serialVersionUID
=
6724637605943897808L
;
private
final
Stage
throwingStage
;
public
StageException
(
final
Stage
throwingStage
)
{
super
();
this
.
throwingStage
=
throwingStage
;
}
/**
* Returns the stage, which failed with an uncatched exception
*
* @return stage instance, which throws the exception
*/
public
Stage
getThrowingStage
()
{
return
throwingStage
;
}
}
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