Class ContractFailedEventArgs

    • Field Detail

      • assemblyFullName

        public static final java.lang.String assemblyFullName
        Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
        See Also:
        Constant Field Values
      • assemblyShortName

        public static final java.lang.String assemblyShortName
        Assembly name: System.Private.CoreLib
        See Also:
        Constant Field Values
      • className

        public static final java.lang.String className
        Qualified class name: System.Diagnostics.Contracts.ContractFailedEventArgs
        See Also:
        Constant Field Values
      • classType

        public static JCType classType
        The type managed from JCOBridge. See JCType
    • Constructor Detail

      • ContractFailedEventArgs

        public ContractFailedEventArgs​(java.lang.Object instance)
                                throws java.lang.Throwable
        Internal constructor. Use with caution
        Throws:
        java.lang.Throwable
      • ContractFailedEventArgs

        public ContractFailedEventArgs()
                                throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • ContractFailedEventArgs

        public ContractFailedEventArgs​(ContractFailureKind failureKind,
                                       java.lang.String message,
                                       java.lang.String condition,
                                       NetException originalException)
                                throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • SetHandled

        public void SetHandled()
                        throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • SetUnwind

        public void SetUnwind()
                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getHandled

        public boolean getHandled()
                           throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getUnwind

        public boolean getUnwind()
                          throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getFailureKind

        public ContractFailureKind getFailureKind()
                                           throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getOriginalException

        public NetException getOriginalException()
                                          throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getCondition

        public java.lang.String getCondition()
                                      throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getMessage

        public java.lang.String getMessage()
                                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable