-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathefxc2Exception.h
More file actions
34 lines (31 loc) · 1.38 KB
/
efxc2Exception.h
File metadata and controls
34 lines (31 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//--------------------------------------------------------------------------------------
// File: efxc2Exception.h
//
// Copyright (c) J. Peter Mugaas
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//--------------------------------------------------------------------------------------
#pragma once
#ifndef EFXC2EXCEPTION_H_INCLUDED
#define EFXC2EXCEPTION_H_INCLUDED
#include "efxc2.h"
namespace efxc2Exception {
class ProgramExceptionBase : public std::exception {};
class Win32APIBase : public ProgramExceptionBase {};
class Win32APIFailure : public Win32APIBase {};
class Win32HLSLFailure : public Win32APIBase {};
class FileBaseError : public ProgramExceptionBase {};
class FileOpenReadError : public ProgramExceptionBase {};
class FileOpenWriteError : public ProgramExceptionBase {};
class FileReadError : public ProgramExceptionBase {};
class FileWritedError : public ProgramExceptionBase {};
class InvalidPOption : public ProgramExceptionBase {};
class TooManyParameters : public ProgramExceptionBase { };
class MissingArgument : public ProgramExceptionBase {};
class NoInputFile : public ProgramExceptionBase {};
class CompileError : public ProgramExceptionBase {};
class PreprocessError : public ProgramExceptionBase {};
}
#endif