Class methods must be invoked with
Classname.methodname(parameters)!
-----Messaggio originale-----
Da: Nerea Alvarez Cantero <[EMAIL PROTECTED]>
A: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Data: marted� 9 marzo 1999 20.25
Oggetto: Problem with log(Exception, String)


>>Hi!
>>I've a problem with
>>    log(Exception e, String msg) function
>>I use in a try-catch loop in the next way :
>>
>> import javax.servlet.*;
>>
>>    ... more imports...
>>
>> class myClass(){
>>
>>...try {.....}
>>
>>  catch (Exception e)  {
>>    log(e, "ERROR" + e.getMessage());
>>  } ...
>>
>>} // end class
>>
>>when I try to compile it the compiler show me a
>>"log(java.lang.Exception, java.lang.String) not found on myClass" error,
>>but the log(String msg) works fine.
>>
>>Thanks in advance.
>>
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to