123456789101112131415161718192021222324252627282930 |
- using System;
- #if PLAT_BINARYFORMATTER && !(WINRT || PHONE8 || COREFX)
- using System.Runtime.Serialization;
- #endif
- namespace ProtoBuf
- {
-
-
-
- #if PLAT_BINARYFORMATTER && !(WINRT || PHONE8 || COREFX)
- [Serializable]
- #endif
- public class ProtoException : Exception
- {
-
- public ProtoException() { }
-
- public ProtoException(string message) : base(message) { }
-
- public ProtoException(string message, Exception innerException) : base(message, innerException) { }
- #if PLAT_BINARYFORMATTER && !(WINRT || PHONE8 || COREFX)
-
- protected ProtoException(SerializationInfo info, StreamingContext context) : base(info, context) { }
- #endif
- }
- }
|