All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cedarsoftware.ncube.rules.RulesException.groovy Maven / Gradle / Ivy

There is a newer version: 5.6.9
Show newest version
package com.cedarsoftware.ncube.rules

import groovy.transform.CompileStatic

@CompileStatic
class RulesException extends RuntimeException
{
    List errors

    RulesException(List errors)
    {
        super(errors.toString())
        this.errors = errors
    }

    RulesException(String s, List errors)
    {
        super("${s} - ${errors.toString()}")
        this.errors = errors
    }

    RulesException(String message, Throwable cause, List errors)
    {
        super("${message} - ${errors.toString()}", cause)
        this.errors = errors
    }

    RulesException(Throwable cause, List errors)
    {
        super("${errors.toString()}", cause)
        this.errors = errors
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy