You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Ernie Rael <er...@raelity.com> on 2020/05/04 19:10:39 UTC

Using IOException as = Exceptions.attachSeverity

Exceptions.printStackTrace(ex) will typically put up a dialog, 
Exceptions.attachSeverity can be used to simply log without dialog.

What levels cause what behavior? For example, do only SEVERE get dialog?

-ernie


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Using IOException as = Exceptions.attachSeverity

Posted by Ernie Rael <er...@raelity.com>.
Greetings,
Thanks for the pointer, I hadn't fully realized the flexibility of 
logging in conjunction with handlers.

And thanks to my (our) trusty debugger, I found my way to 
.../NotifyExcPanel.shallNotify.

-ernie

On 5/4/2020 8:08 PM, Jaroslav Tulach wrote:
> - pondělí 4. května 2020 21:10:39 CEST, Ernie Rael -
>> Exceptions.printStackTrace(ex) will typically put up a dialog,
>> Exceptions.attachSeverity can be used to simply log without dialog.
>>
>> What levels cause what behavior? For example, do only SEVERE get dialog?
> Hello Ernie,
> there is a document that should provide the answers: https://
> bits.netbeans.org/12.0/javadoc/org-openide-util/org/openide/util/doc-files/
> logging.html
>
> -jt
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Using IOException as = Exceptions.attachSeverity

Posted by Jaroslav Tulach <ja...@gmail.com>.
- pondělí 4. května 2020 21:10:39 CEST, Ernie Rael -
> Exceptions.printStackTrace(ex) will typically put up a dialog,
> Exceptions.attachSeverity can be used to simply log without dialog.
> 
> What levels cause what behavior? For example, do only SEVERE get dialog?

Hello Ernie,
there is a document that should provide the answers: https://
bits.netbeans.org/12.0/javadoc/org-openide-util/org/openide/util/doc-files/
logging.html

-jt




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists