Fix for building on windows

This commit is contained in:
flithm 2007-08-29 14:24:54 +00:00
commit 2ae39442b4
2 changed files with 181 additions and 171 deletions

View file

@ -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);
}
}
}