YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
ContentLoadingFailException.cpp
Go to the documentation of this file.
1
#include "
YAPOG/System/Error/ContentLoadingFailException.hpp
"
2
3
namespace
yap
4
{
5
const
String
ContentLoadingFailException::DEFAULT_MESSAGE_PREFIX
=
6
"Failed to load content: `"
;
7
const
String
ContentLoadingFailException::DEFAULT_MESSAGE_SUFFIX
=
8
"'"
;
9
10
ContentLoadingFailException::ContentLoadingFailException
(
11
const
String
& contentName)
12
:
Exception
(DEFAULT_MESSAGE_PREFIX +
13
contentName +
14
DEFAULT_MESSAGE_SUFFIX)
15
{
16
}
17
18
ContentLoadingFailException::~ContentLoadingFailException
() throw ()
19
{
20
}
21
22
ContentLoadingFailException::ContentLoadingFailException
(
23
const
ContentLoadingFailException
& copy)
24
:
Exception
(copy)
25
{
26
}
27
28
ContentLoadingFailException
&
ContentLoadingFailException::operator=
(
29
const
ContentLoadingFailException
& copy)
30
{
31
if
(
this
== ©)
32
return
*
this
;
33
34
Exception::operator=
(copy);
35
36
return
*
this
;
37
}
38
}
// namespace yap
YAPOG
src
YAPOG
System
Error
ContentLoadingFailException.cpp
Generated on Mon Sep 17 2012 22:24:26 for YAPOG by
1.8.1.1