/**
* Sets the property value by parsing a given String. May raise
* java.lang.IllegalArgumentException if either the String is
* badly formatted or if this kind of property can't be expressed
* as text.
*
* @param text The string to be parsed.
*/
public void setAsText(String name) {
try {
asEnum(name);
} catch (InvalidEnumNameException e) {
throw new IllegalArgumentException("Unable to convert value: "+ name);
}
}
는 실제 스택 트레이스가 손실 될 수 원인이됩니다.
예 실제로 실제로 1.4.2에 걸렸습니다 ... –
그럴 경우 행운을 빕니다. 원인 매개 변수가 대부분 (모두?)에 없었습니다. 1.5 이전의 예외 –