@@ -31,8 +31,8 @@ namespace RabbitMQ.Client
31
31
public override bool Equals(object obj) { }
32
32
public override int GetHashCode() { }
33
33
public override string ToString() { }
34
- public static bool !=(RabbitMQ.Client.AmqpTimestamp left, RabbitMQ.Client.AmqpTimestamp right) { }
35
- public static bool ==(RabbitMQ.Client.AmqpTimestamp left, RabbitMQ.Client.AmqpTimestamp right) { }
34
+ public static bool operator !=(RabbitMQ.Client.AmqpTimestamp left, RabbitMQ.Client.AmqpTimestamp right) { }
35
+ public static bool operator ==(RabbitMQ.Client.AmqpTimestamp left, RabbitMQ.Client.AmqpTimestamp right) { }
36
36
}
37
37
public class AsyncDefaultBasicConsumer : RabbitMQ.Client.IAsyncBasicConsumer, RabbitMQ.Client.IBasicConsumer
38
38
{
@@ -684,18 +684,22 @@ namespace RabbitMQ.Client.Events
684
684
}
685
685
namespace RabbitMQ.Client.Exceptions
686
686
{
687
+ [System.Serializable]
687
688
public class AlreadyClosedException : RabbitMQ.Client.Exceptions.OperationInterruptedException
688
689
{
689
690
public AlreadyClosedException(RabbitMQ.Client.ShutdownEventArgs reason) { }
690
691
}
692
+ [System.Serializable]
691
693
public class AuthenticationFailureException : RabbitMQ.Client.Exceptions.PossibleAuthenticationFailureException
692
694
{
693
695
public AuthenticationFailureException(string msg) { }
694
696
}
697
+ [System.Serializable]
695
698
public class BrokerUnreachableException : System.IO.IOException
696
699
{
697
700
public BrokerUnreachableException(System.Exception Inner) { }
698
701
}
702
+ [System.Serializable]
699
703
public class ChannelAllocationException : RabbitMQ.Client.Exceptions.ProtocolViolationException
700
704
{
701
705
public ChannelAllocationException() { }
@@ -708,6 +712,7 @@ namespace RabbitMQ.Client.Exceptions
708
712
public int Channel { get; }
709
713
public override ushort ReplyCode { get; }
710
714
}
715
+ [System.Serializable]
711
716
public class ConnectFailureException : RabbitMQ.Client.Exceptions.ProtocolViolationException
712
717
{
713
718
public ConnectFailureException(string msg, System.Exception inner) { }
@@ -721,6 +726,7 @@ namespace RabbitMQ.Client.Exceptions
721
726
public MalformedFrameException(string message) { }
722
727
public override ushort ReplyCode { get; }
723
728
}
729
+ [System.Serializable]
724
730
public class OperationInterruptedException : RabbitMQ.Client.Exceptions.RabbitMQClientException
725
731
{
726
732
protected OperationInterruptedException() { }
@@ -730,6 +736,7 @@ namespace RabbitMQ.Client.Exceptions
730
736
protected OperationInterruptedException(string message, System.Exception inner) { }
731
737
public RabbitMQ.Client.ShutdownEventArgs ShutdownReason { get; set; }
732
738
}
739
+ [System.Serializable]
733
740
public class PacketNotRecognizedException : RabbitMQ.Client.Exceptions.RabbitMQClientException
734
741
{
735
742
public PacketNotRecognizedException(int transportHigh, int transportLow, int serverMajor, int serverMinor) { }
@@ -738,6 +745,7 @@ namespace RabbitMQ.Client.Exceptions
738
745
public int TransportHigh { get; }
739
746
public int TransportLow { get; }
740
747
}
748
+ [System.Serializable]
741
749
public class PossibleAuthenticationFailureException : RabbitMQ.Client.Exceptions.RabbitMQClientException
742
750
{
743
751
public PossibleAuthenticationFailureException(string msg) { }
@@ -749,6 +757,7 @@ namespace RabbitMQ.Client.Exceptions
749
757
public abstract ushort ReplyCode { get; }
750
758
public virtual RabbitMQ.Client.ShutdownEventArgs ShutdownReason { get; }
751
759
}
760
+ [System.Serializable]
752
761
public class ProtocolVersionMismatchException : RabbitMQ.Client.Exceptions.ProtocolViolationException
753
762
{
754
763
public ProtocolVersionMismatchException(int clientMajor, int clientMinor, int serverMajor, int serverMinor) { }
@@ -757,12 +766,14 @@ namespace RabbitMQ.Client.Exceptions
757
766
public int ServerMajor { get; }
758
767
public int ServerMinor { get; }
759
768
}
769
+ [System.Serializable]
760
770
public class ProtocolViolationException : RabbitMQ.Client.Exceptions.RabbitMQClientException
761
771
{
762
772
public ProtocolViolationException() { }
763
773
public ProtocolViolationException(string message) { }
764
774
public ProtocolViolationException(string message, System.Exception inner) { }
765
775
}
776
+ [System.Serializable]
766
777
public abstract class RabbitMQClientException : System.Exception
767
778
{
768
779
protected RabbitMQClientException() { }
@@ -787,6 +798,7 @@ namespace RabbitMQ.Client.Exceptions
787
798
{
788
799
public override ushort ReplyCode { get; }
789
800
}
801
+ [System.Serializable]
790
802
public class UnexpectedMethodException : RabbitMQ.Client.Exceptions.ProtocolViolationException
791
803
{
792
804
public UnexpectedMethodException(ushort classId, ushort methodId, string methodName) { }
@@ -802,17 +814,20 @@ namespace RabbitMQ.Client.Exceptions
802
814
public override ushort ReplyCode { get; }
803
815
public override string ToString() { }
804
816
}
817
+ [System.Serializable]
805
818
public class UnsupportedMethodException : System.NotSupportedException
806
819
{
807
820
public UnsupportedMethodException(string methodName) { }
808
821
public string MethodName { get; }
809
822
}
823
+ [System.Serializable]
810
824
public class UnsupportedMethodFieldException : System.NotSupportedException
811
825
{
812
826
public UnsupportedMethodFieldException(string methodName, string fieldName) { }
813
827
public string FieldName { get; }
814
828
public string MethodName { get; }
815
829
}
830
+ [System.Serializable]
816
831
public class WireFormattingException : RabbitMQ.Client.Exceptions.ProtocolViolationException
817
832
{
818
833
public WireFormattingException(string message) { }
0 commit comments