1 22 package org.jboss.system; 23 24 30 public class InvalidAttributeException 31 extends ConfigurationException 32 { 33 40 public InvalidAttributeException(final String name, final String msg) { 41 super(makeMessage(name, msg)); 42 } 43 44 52 public InvalidAttributeException(final String name, final String msg, final Throwable nested) 53 { 54 super(makeMessage(name, msg), nested); 55 } 56 57 60 private static String makeMessage(final String name, final String msg) { 61 return "Invalid value for attribute '" + name + "': " + msg; 62 } 63 } 64 | Popular Tags |