Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
HW2 Task manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diana.alkateeb
HW2 Task manager
Commits
107fa80d
Commit
107fa80d
authored
Apr 27, 2019
by
Wagner Franchin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added class to handle incorrect parameters
parent
5b7d4e2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
TaskIncorrectParams.java
src/task/TaskIncorrectParams.java
+16
-0
No files found.
src/task/TaskIncorrectParams.java
0 → 100644
View file @
107fa80d
package
task
;
public
final
class
TaskIncorrectParams
extends
TaskImpl
{
public
TaskIncorrectParams
(
String
input
)
{
super
(
input
);
}
@Override
public
void
execute
()
{
}
@Override
public
String
getResult
()
{
return
"ERROR: A task must have 2 parameters.\n"
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment