Fix for building on windows
This commit is contained in:
parent
0ba6289dbb
commit
2ae39442b4
2 changed files with 181 additions and 171 deletions
|
@ -1,40 +1,50 @@
|
|||
/**
|
||||
*
|
||||
* Exception Class
|
||||
*
|
||||
* Authors: Tim Burrell
|
||||
* Copyright: Copyright (c) 2007
|
||||
* License: <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>
|
||||
*
|
||||
**/
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Module
|
||||
///////////////////////////////////////
|
||||
|
||||
module libraryA.core.Exception;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Imports
|
||||
///////////////////////////////////////
|
||||
|
||||
import tango.core.Exception;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Typedef's / Enums
|
||||
///////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Exception Classes
|
||||
///////////////////////////////////////
|
||||
|
||||
/**
|
||||
* PathNotFoundException Class
|
||||
**/
|
||||
class PathNotFoundException : IOException {
|
||||
/// Default Constructor
|
||||
this (char [] Message) {
|
||||
super(Message);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Exception Class
|
||||
*
|
||||
* Authors: Tim Burrell
|
||||
* Copyright: Copyright (c) 2007
|
||||
* License: <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>
|
||||
*
|
||||
**/
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Module
|
||||
///////////////////////////////////////
|
||||
|
||||
module libraryA.core.Exception;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Imports
|
||||
///////////////////////////////////////
|
||||
|
||||
version (Tango)
|
||||
import tango.core.Exception;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Typedef's / Enums
|
||||
///////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Exception Classes
|
||||
///////////////////////////////////////
|
||||
|
||||
/**
|
||||
* PathNotFoundException Class
|
||||
**/
|
||||
version (Tango) {
|
||||
class PathNotFoundException : IOException {
|
||||
/// Default Constructor
|
||||
this (char [] Message) {
|
||||
super(Message);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
class PathNotFoundException : Exception {
|
||||
/// Default Constructor
|
||||
this (char [] Message) {
|
||||
super(Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue