| 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
CompilerException.CompilerException(String,Throwable) , this method cannot be called even once.
Parameters: cause - the cause (which is saved for later retrieval by the CompilerException.getCause()method). (A null value is permitted, and indicates that the cause isnonexistent or unknown.) a reference to this Throwable instance. throws: IllegalArgumentException - if cause is this throwable. (A throwablecannot be its own cause.) throws: IllegalStateException - if this throwable was created with CompilerException.CompilerException(String,Throwable), or this method has already been called on thisthrowable. |