Skip to content

Commit 939ef11

Browse files
committed
Fixup approval expectation
1 parent 02b6f2d commit 939ef11

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

projects/Unit/APIApproval.Approve.verified.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,18 +688,22 @@ namespace RabbitMQ.Client.Events
688688
}
689689
namespace RabbitMQ.Client.Exceptions
690690
{
691+
[System.Serializable]
691692
public class AlreadyClosedException : RabbitMQ.Client.Exceptions.OperationInterruptedException
692693
{
693694
public AlreadyClosedException(RabbitMQ.Client.ShutdownEventArgs reason) { }
694695
}
696+
[System.Serializable]
695697
public class AuthenticationFailureException : RabbitMQ.Client.Exceptions.PossibleAuthenticationFailureException
696698
{
697699
public AuthenticationFailureException(string msg) { }
698700
}
701+
[System.Serializable]
699702
public class BrokerUnreachableException : System.IO.IOException
700703
{
701704
public BrokerUnreachableException(System.Exception Inner) { }
702705
}
706+
[System.Serializable]
703707
public class ChannelAllocationException : RabbitMQ.Client.Exceptions.ProtocolViolationException
704708
{
705709
public ChannelAllocationException() { }
@@ -712,6 +716,7 @@ namespace RabbitMQ.Client.Exceptions
712716
public int Channel { get; }
713717
public override ushort ReplyCode { get; }
714718
}
719+
[System.Serializable]
715720
public class ConnectFailureException : RabbitMQ.Client.Exceptions.ProtocolViolationException
716721
{
717722
public ConnectFailureException(string msg, System.Exception inner) { }
@@ -725,6 +730,7 @@ namespace RabbitMQ.Client.Exceptions
725730
public MalformedFrameException(string message) { }
726731
public override ushort ReplyCode { get; }
727732
}
733+
[System.Serializable]
728734
public class OperationInterruptedException : RabbitMQ.Client.Exceptions.RabbitMQClientException
729735
{
730736
protected OperationInterruptedException() { }
@@ -734,6 +740,7 @@ namespace RabbitMQ.Client.Exceptions
734740
protected OperationInterruptedException(string message, System.Exception inner) { }
735741
public RabbitMQ.Client.ShutdownEventArgs ShutdownReason { get; set; }
736742
}
743+
[System.Serializable]
737744
public class PacketNotRecognizedException : RabbitMQ.Client.Exceptions.RabbitMQClientException
738745
{
739746
public PacketNotRecognizedException(int transportHigh, int transportLow, int serverMajor, int serverMinor) { }
@@ -742,6 +749,7 @@ namespace RabbitMQ.Client.Exceptions
742749
public int TransportHigh { get; }
743750
public int TransportLow { get; }
744751
}
752+
[System.Serializable]
745753
public class PossibleAuthenticationFailureException : RabbitMQ.Client.Exceptions.RabbitMQClientException
746754
{
747755
public PossibleAuthenticationFailureException(string msg) { }
@@ -753,6 +761,7 @@ namespace RabbitMQ.Client.Exceptions
753761
public abstract ushort ReplyCode { get; }
754762
public virtual RabbitMQ.Client.ShutdownEventArgs ShutdownReason { get; }
755763
}
764+
[System.Serializable]
756765
public class ProtocolVersionMismatchException : RabbitMQ.Client.Exceptions.ProtocolViolationException
757766
{
758767
public ProtocolVersionMismatchException(int clientMajor, int clientMinor, int serverMajor, int serverMinor) { }
@@ -761,12 +770,14 @@ namespace RabbitMQ.Client.Exceptions
761770
public int ServerMajor { get; }
762771
public int ServerMinor { get; }
763772
}
773+
[System.Serializable]
764774
public class ProtocolViolationException : RabbitMQ.Client.Exceptions.RabbitMQClientException
765775
{
766776
public ProtocolViolationException() { }
767777
public ProtocolViolationException(string message) { }
768778
public ProtocolViolationException(string message, System.Exception inner) { }
769779
}
780+
[System.Serializable]
770781
public abstract class RabbitMQClientException : System.Exception
771782
{
772783
protected RabbitMQClientException() { }
@@ -791,6 +802,7 @@ namespace RabbitMQ.Client.Exceptions
791802
{
792803
public override ushort ReplyCode { get; }
793804
}
805+
[System.Serializable]
794806
public class UnexpectedMethodException : RabbitMQ.Client.Exceptions.ProtocolViolationException
795807
{
796808
public UnexpectedMethodException(RabbitMQ.Client.IMethod method) { }
@@ -804,17 +816,20 @@ namespace RabbitMQ.Client.Exceptions
804816
public override ushort ReplyCode { get; }
805817
public override string ToString() { }
806818
}
819+
[System.Serializable]
807820
public class UnsupportedMethodException : System.NotSupportedException
808821
{
809822
public UnsupportedMethodException(string methodName) { }
810823
public string MethodName { get; }
811824
}
825+
[System.Serializable]
812826
public class UnsupportedMethodFieldException : System.NotSupportedException
813827
{
814828
public UnsupportedMethodFieldException(string methodName, string fieldName) { }
815829
public string FieldName { get; }
816830
public string MethodName { get; }
817831
}
832+
[System.Serializable]
818833
public class WireFormattingException : RabbitMQ.Client.Exceptions.ProtocolViolationException
819834
{
820835
public WireFormattingException(string message) { }

0 commit comments

Comments
 (0)