[ 
https://issues.apache.org/jira/browse/PIVOT-1034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505122#comment-16505122
 ] 

Roger Whitcomb commented on PIVOT-1034:
---------------------------------------

Made these changes and a bunch of cleanup too:

Sending wtk\src\org\apache\pivot\wtk\Theme.java
Sending wtk\src\org\apache\pivot\wtk\ThemeNotFoundException.java
Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraTheme.java
Transmitting file data ...done
Committing transaction...
Committed revision 1833140.

> Change ThemeNotFoundException to a subclass of Error
> ----------------------------------------------------
>
>                 Key: PIVOT-1034
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1034
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>
> It seems like the ThemeNotFoundException is more akin to a Java "Error" than 
> a RuntimeException, because the user or program is not expected to be able to 
> recover from it.
> Also, there are some error conditions in TerraTheme during initialization 
> that also are essentially the same thing (that is, a part of the theme 
> configuration is not available for some reason).  These things also could 
> throw this ThemeNotFoundException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to