/** * Creates a new exception based on a list of throwables. The throwables are not * used as the cause, but the message from each throwable is included as the message * for this exception. * * @param errors A list of throwables to use in the message */ public DefinitionException(List<Throwable> errors) { super(DefinitionException.class.getName()); // the no-args constructor is missing this.message = new WeldExceptionListMessage(errors); for (Throwable error : errors) { addSuppressed(error); } }
/** * Creates a new exception based on a list of throwables. The throwables are not * used as the cause, but the message from each throwable is included as the message * for this exception. * * @param errors A list of throwables to use in the message */ public DefinitionException(List<Throwable> errors) { super(DefinitionException.class.getName()); // the no-args constructor is missing this.message = new WeldExceptionListMessage(errors); for (Throwable error : errors) { addSuppressed(error); } }
/** * Creates a new exception based on a list of throwables. The throwables are not * used as the cause, but the message from each throwable is included as the message * for this exception. * * @param errors A list of throwables to use in the message */ public DefinitionException(List<Throwable> errors) { super(DefinitionException.class.getName()); // the no-args constructor is missing this.message = new WeldExceptionListMessage(errors); for (Throwable error : errors) { addSuppressed(error); } }
/** * Creates a new exception based on a list of throwables. The throwables are not * used as the cause, but the message from each throwable is included as the message * for this exception. * * @param errors A list of throwables to use in the message */ public DefinitionException(List<Throwable> errors) { super(DefinitionException.class.getName()); // the no-args constructor is missing this.message = new WeldExceptionListMessage(errors); for (Throwable error : errors) { addSuppressed(error); } }
/** * Creates a new exception based on a list of throwables. The throwables are not * used as the cause, but the message from each throwable is included as the message * for this exception. * * @param errors A list of throwables to use in the message */ public DefinitionException(List<Throwable> errors) { super(DefinitionException.class.getName()); // the no-args constructor is missing this.message = new WeldExceptionListMessage(errors); for (Throwable error : errors) { addSuppressed(error); } }
/** * Creates a new exception based on a list of throwables. The throwables are not * used as the cause, but the message from each throwable is included as the message * for this exception. * * @param errors A list of throwables to use in the message */ public DefinitionException(List<Throwable> errors) { super(DefinitionException.class.getName()); // the no-args constructor is missing this.message = new WeldExceptionListMessage(errors); for (Throwable error : errors) { addSuppressed(error); } }