Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasCause (0.59 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/NonGradleCauseExceptionsHolder.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.exceptions;
    
    public interface NonGradleCauseExceptionsHolder {
        boolean hasCause(Class<?> type);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 747 bytes
    - Viewed (0)
  2. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/exceptions/DefaultMultiCauseException.java

            }
            return message;
        }
    
        @Override
        public boolean hasCause(Class<?> type) {
            for (Throwable cause : getCauses()) {
                if (cause instanceof NonGradleCauseExceptionsHolder) {
                    boolean hasCauseOfType = ((NonGradleCauseExceptionsHolder) cause).hasCause(type);
                    if (hasCauseOfType) {
                        return true;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top