Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
31b917fa
Commit
31b917fa
authored
14 years ago
by
ilor
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of nlp.pwr.wroc.pl:wccl
parents
6a7ac841
a2e40649
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libwccl/parser/ParserException.cpp
+1
-1
1 addition, 1 deletion
libwccl/parser/ParserException.cpp
libwccl/parser/ParserException.h
+6
-2
6 additions, 2 deletions
libwccl/parser/ParserException.h
with
7 additions
and
3 deletions
libwccl/parser/ParserException.cpp
+
1
−
1
View file @
31b917fa
#include
<libwccl/parser/ParserException.h>
ParserException
::
ParserException
(
std
::
string
msg
)
ParserException
::
ParserException
(
std
::
string
msg
)
:
WcclError
(
msg
)
{
this
->
msg
=
msg
;
}
This diff is collapsed.
Click to expand it.
libwccl/parser/ParserException.h
+
6
−
2
View file @
31b917fa
#ifndef LIBWCCL_PARSER_PARSEREXCEPTION_H
#define LIBWCCL_PARSER_PARSEREXCEPTION_H
#include
<libwccl/exception.h>
#include
<string>
class
ParserException
//TODO derive from std::exception or w
ccl
e
rror
class
ParserException
:
public
Wccl
::
W
ccl
E
rror
{
public:
ParserException
(
const
std
::
string
);
~
ParserException
()
throw
()
{
}
//
const
std
::
string
info
()
const
{
return
this
->
msg
;
}
std
::
string
info
()
const
{
return
this
->
msg
;
}
private
:
std
::
string
msg
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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