ICU-6854 changed so that initCause doesn't cause problem with JDK 1.3
X-SVN-Rev: 25894
This commit is contained in:
parent
28d5468b31
commit
1966cf2a0a
@ -1,3 +1,4 @@
|
|||||||
|
//##header
|
||||||
/*
|
/*
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
* Copyright (C) 2009, Google, International Business Machines Corporation and *
|
* Copyright (C) 2009, Google, International Business Machines Corporation and *
|
||||||
@ -16,4 +17,13 @@ public class IllegalIcuArgumentException extends IllegalArgumentException {
|
|||||||
public IllegalIcuArgumentException(String errorMessage) {
|
public IllegalIcuArgumentException(String errorMessage) {
|
||||||
super(errorMessage);
|
super(errorMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public synchronized Throwable initCause(Throwable cause) {
|
||||||
|
//#if defined(FOUNDATION10) || defined(J2SE13)
|
||||||
|
//## //JDK1.3 / CDC Foundation 1.0 specific code prefixed by //##
|
||||||
|
//#else
|
||||||
|
// Code for all other environments
|
||||||
|
return super.initCause(cause);
|
||||||
|
//#endif
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user