commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Rocher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-559) New Validate utility methods
Date Tue, 02 Feb 2010 10:22:19 GMT

    [ https://issues.apache.org/jira/browse/LANG-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828584#action_12828584
] 

Valentin Rocher commented on LANG-559:
--------------------------------------

I have a problem with this one : I've done the isInstance and isAssignable, but I don't know
which exception to throw...I was thinking about IllegalClassException, but it seems to have
disappeared from LANG, so I think there's a good reason...Any help ?

> New Validate utility methods
> ----------------------------
>
>                 Key: LANG-559
>                 URL: https://issues.apache.org/jira/browse/LANG-559
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Paul Benedict
>            Assignee: Paul Benedict
>             Fix For: 3.0
>
>
> Methods for consideration:
>  * isInstanceOf(Class<?> type, Object o);
>  * isAssignable(Class<?> superType, Class<?> subType);
>  * state(boolean condition);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message