[
https://issues.apache.org/jira/browse/SYNCOPE-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557336#comment-13557336
]
Hudson commented on SYNCOPE-280:
Integrated in Syncope-trunk #455 (See
[https://builds.apache.org/job/Syncope-trunk/455/])
[SYNCOPE-280] Update some checked exceptions to runtime ones (Revision
1435228)
Result = SUCCESS
ashakirin :
Files :
*
/syncope/trunk/console/src/main/java/org/apache/syncope/console/rest/InvalidPolicyType.java
*
/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/dao/MissingConfKeyException.java
*
/syncope/trunk/core/src/main/java/org/apache/syncope/core/policy/AccountPolicyException.java
*
/syncope/trunk/core/src/main/java/org/apache/syncope/core/policy/PasswordPolicyException.java
*
/syncope/trunk/core/src/main/java/org/apache/syncope/core/policy/PolicyEnforceException.java
*
/syncope/trunk/core/src/main/java/org/apache/syncope/core/propagation/PropagationException.java
*
/syncope/trunk/core/src/main/java/org/apache/syncope/core/report/ReportException.java
*
/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/controller/UnauthorizedRoleException.java
*
/syncope/trunk/core/src/main/java/org/apache/syncope/core/util/IncompatiblePolicyException.java
*
/syncope/trunk/core/src/main/java/org/apache/syncope/core/workflow/WorkflowException.java
> Update some checked exceptions to runtime ones
> --
>
> Key: SYNCOPE-280
> URL: https://issues.apache.org/jira/browse/SYNCOPE-280
> Project: Syncope
> Issue Type: Improvement
>Reporter: Andrei Shakirin
>Assignee: Andrei Shakirin
>
> Accordingly Java Best Practices checked exceptions should be used only for
> conditions from which the caller can reasonably be expected to recover.
> Runtime exceptions should be used for preconditions violation and for
> programming errors.
> Candidates for checked exceptions are:
> - InvalidSearchConditionException
> - NotFoundException
> Candidates for runtime exceptions:
> - all Validation exceptions inherited from
> javax.validation.ValidationException
> - MissingConfKeyException
> - AccountPolicyException
> - PasswordPolicyException
> - PolicyEnforceException
> - IncompatiblePolicyException
> - UnauthorizedRoleException
> - PropagationException
> - ReportException
> - WorkflowException
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira