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
a2e40649
Commit
a2e40649
authored
14 years ago
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
ParserException inherit from Wccl::WcclError
parent
939cdc62
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 @
a2e40649
#include
<libwccl/parser/ParserException.h>
#include
<libwccl/parser/ParserException.h>
ParserException
::
ParserException
(
std
::
string
msg
)
ParserException
::
ParserException
(
std
::
string
msg
)
:
WcclError
(
msg
)
{
{
this
->
msg
=
msg
;
this
->
msg
=
msg
;
}
}
This diff is collapsed.
Click to expand it.
libwccl/parser/ParserException.h
+
6
−
2
View file @
a2e40649
#ifndef LIBWCCL_PARSER_PARSEREXCEPTION_H
#ifndef LIBWCCL_PARSER_PARSEREXCEPTION_H
#define LIBWCCL_PARSER_PARSEREXCEPTION_H
#define LIBWCCL_PARSER_PARSEREXCEPTION_H
#include
<libwccl/exception.h>
#include
<string>
#include
<string>
class
ParserException
//TODO derive from std::exception or w
ccl
e
rror
class
ParserException
:
public
Wccl
::
W
ccl
E
rror
{
{
public:
public:
ParserException
(
const
std
::
string
);
ParserException
(
const
std
::
string
);
~
ParserException
()
throw
()
{
}
//
//
const
std
::
string
info
()
const
{
return
this
->
msg
;
}
std
::
string
info
()
const
{
return
this
->
msg
;
}
private
:
private
:
std
::
string
msg
;
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