/** * 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 WeldException(List<Throwable> errors) { super(); this.message = new WeldExceptionListMessage(errors); }
public String getAsString() { if (message == null) { generateMessage(); } return message; }
private Object writeReplace() throws ObjectStreamException { return new WeldExceptionStringMessage(getAsString()); }
private Object writeReplace() throws ObjectStreamException { return new WeldExceptionStringMessage(getAsString()); }
/** * 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 WeldException(List<Throwable> errors) { super(); this.message = new WeldExceptionListMessage(errors); }
public String getAsString() { if (message == null) { generateMessage(); } return message; }
private Object writeReplace() throws ObjectStreamException { return new WeldExceptionStringMessage(getAsString()); }
/** * 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 WeldException(List<Throwable> errors) { super(); this.message = new WeldExceptionListMessage(errors); }
public String getAsString() { if (message == null) { generateMessage(); } return message; }
private Object writeReplace() throws ObjectStreamException { return new WeldExceptionStringMessage(getAsString()); }
/** * 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 WeldException(List<Throwable> errors) { super(); this.message = new WeldExceptionListMessage(errors); }
public String getAsString() { if (message == null) { generateMessage(); } return message; }
private Object writeReplace() throws ObjectStreamException { return new WeldExceptionStringMessage(getAsString()); }
/** * 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 WeldException(List<Throwable> errors) { super(); this.message = new WeldExceptionListMessage(errors); }
public String getAsString() { if (message == null) { generateMessage(); } return message; }
private Object writeReplace() throws ObjectStreamException { return new WeldExceptionStringMessage(getAsString()); }
/** * 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 WeldException(List<Throwable> errors) { super(); this.message = new WeldExceptionListMessage(errors); }
public String getAsString() { if (message == null) { generateMessage(); } return message; }
/** * 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 DeploymentException(List<? extends Throwable> errors) { super(DeploymentException.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 DeploymentException(List<? extends Throwable> errors) { super(DeploymentException.class.getName()); // the no-args constructor is missing this.message = new WeldExceptionListMessage(errors); for (Throwable error : errors) { addSuppressed(error); } }