[java-opensaml COMMIT] /trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/ProfileException.java
noreply at shibboleth.net
noreply at shibboleth.net
Mon Aug 5 22:32:16 EDT 2013
Author: scantor
Date: Mon Aug 5 22:32:16 2013
New Revision: 3418
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3418&view=rev
Log:
Add annotations
Modified:
trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/ProfileException.java
Modified: trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/ProfileException.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/ProfileException.java?rev=3418&r1=3417&r2=3418&view=diff
==============================================================================
--- trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/ProfileException.java (original)
+++ trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/ProfileException.java Mon Aug 5 22:32:16 2013
@@ -17,6 +17,8 @@
package org.opensaml.profile;
+import javax.annotation.Nullable;
+
/** Exception thrown if there is a problem with processing a profile action. */
public class ProfileException extends Exception {
@@ -33,7 +35,7 @@
*
* @param message exception message
*/
- public ProfileException(String message) {
+ public ProfileException(@Nullable final String message) {
super(message);
}
@@ -42,7 +44,7 @@
*
* @param wrappedException exception to be wrapped by this one
*/
- public ProfileException(Exception wrappedException) {
+ public ProfileException(@Nullable final Exception wrappedException) {
super(wrappedException);
}
@@ -52,7 +54,7 @@
* @param message exception message
* @param wrappedException exception to be wrapped by this one
*/
- public ProfileException(String message, Exception wrappedException) {
+ public ProfileException(@Nullable final String message, @Nullable final Exception wrappedException) {
super(message, wrappedException);
}
}
More information about the commits
mailing list