Top Fields Constructors Methods
com.ibm.icu.impl

public Class IllegalIcuArgumentException

extends IllegalArgumentException
Class Inheritance

Author
markdavis

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public synchronized IllegalIcuArgumentException
initCause(Throwable
the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
cause
)

Overrides java.lang.Throwable.initCause.

Initializes the cause of this throwable to the specified value.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IllegalArgumentException.serialVersionUID.

Constructor Detail

IllegalIcuArgumentExceptionback to summary
public IllegalIcuArgumentException(String errorMessage)
IllegalIcuArgumentExceptionback to summary
public IllegalIcuArgumentException(Throwable cause)
IllegalIcuArgumentExceptionback to summary
public IllegalIcuArgumentException(String errorMessage, Throwable cause)

Method Detail

initCauseback to summary
public synchronized IllegalIcuArgumentException initCause(Throwable cause)

Overrides java.lang.Throwable.initCause.

Doc from java.lang.Throwable.initCause.

Initializes the cause of this throwable to the specified value. (The cause is the throwable that caused this throwable to get thrown.)

This method can be called at most once. It is generally called from within the constructor, or immediately after creating the throwable. If this throwable was created with Throwable(Throwable) or Throwable(String, Throwable), this method cannot be called even once.

An example of using this method on a legacy throwable type without other support for setting the cause is:

try {
    lowLevelOp();
} catch (LowLevelException le) {
    throw (HighLevelException)
          new HighLevelException().initCause(le); // Legacy constructor
}
Parameters
cause:Throwable

the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Returns:IllegalIcuArgumentException

a reference to this Throwable instance.

Annotations
@Override