/** * Constructs an instance. * * @param exceptions {@code non-null;} list of classes, presumed but not * verified to be subclasses of {@code Throwable} */ public AttExceptions(TypeList exceptions) { super(ATTRIBUTE_NAME); try { if (exceptions.isMutable()) { throw new MutabilityException("exceptions.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("exceptions == null"); } this.exceptions = exceptions; }
/** * Constructs an instance. * * @param exceptions {@code non-null;} list of classes, presumed but not * verified to be subclasses of {@code Throwable} */ public AttExceptions(TypeList exceptions) { super(ATTRIBUTE_NAME); try { if (exceptions.isMutable()) { throw new MutabilityException("exceptions.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("exceptions == null"); } this.exceptions = exceptions; }
/** * Constructs an instance. * * @param exceptions {@code non-null;} list of classes, presumed but not * verified to be subclasses of {@code Throwable} */ public AttExceptions(TypeList exceptions) { super(ATTRIBUTE_NAME); try { if (exceptions.isMutable()) { throw new MutabilityException("exceptions.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("exceptions == null"); } this.exceptions = exceptions; }
/** * Constructs an instance. * * @param exceptions {@code non-null;} list of classes, presumed but not * verified to be subclasses of {@code Throwable} */ public AttExceptions(TypeList exceptions) { super(ATTRIBUTE_NAME); try { if (exceptions.isMutable()) { throw new MutabilityException("exceptions.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("exceptions == null"); } this.exceptions = exceptions; }
/** * Constructs an instance. * * @param exceptions {@code non-null;} list of classes, presumed but not * verified to be subclasses of {@code Throwable} */ public AttExceptions(TypeList exceptions) { super(ATTRIBUTE_NAME); try { if (exceptions.isMutable()) { throw new MutabilityException("exceptions.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("exceptions == null"); } this.exceptions = exceptions; }
/** * Constructs an instance. * * @param exceptions {@code non-null;} list of classes, presumed but not * verified to be subclasses of {@code Throwable} */ public AttExceptions(TypeList exceptions) { super(ATTRIBUTE_NAME); try { if (exceptions.isMutable()) { throw new MutabilityException("exceptions.isMutable()"); } } catch (NullPointerException ex) { // Translate the exception. throw new NullPointerException("exceptions == null"); } this.exceptions = exceptions; }