init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
Framework/Exceptions
21
Framework/Exceptions/PanicException.cs
Normal file
21
Framework/Exceptions/PanicException.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace Kreta.Framework.Exceptions
|
||||
{
|
||||
[Serializable]
|
||||
public sealed class PanicException : Exception
|
||||
{
|
||||
const string _defaultMessage = "Don't panic!";
|
||||
|
||||
public PanicException() : base(_defaultMessage) { }
|
||||
|
||||
public PanicException(string message) : base(message) { }
|
||||
|
||||
public PanicException(string message, Exception inner) : base(message, inner) { }
|
||||
|
||||
public PanicException(Exception inner) : base(_defaultMessage, inner) { }
|
||||
|
||||
PanicException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue