[java-opensaml COMMIT] in /trunk/opensaml-core/src/main/java/org/opensaml/core: config/InitializationException.java x...
noreply at shibboleth.net
noreply at shibboleth.net
Fri Dec 28 21:16:27 EST 2012
Author: scantor
Date: Fri Dec 28 21:16:27 2012
New Revision: 3116
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3116&view=rev
Log:
Annotations and constraints.
Modified:
trunk/opensaml-core/src/main/java/org/opensaml/core/config/InitializationException.java
trunk/opensaml-core/src/main/java/org/opensaml/core/xml/XMLRuntimeException.java
trunk/opensaml-core/src/main/java/org/opensaml/core/xml/config/XMLConfigurationException.java
trunk/opensaml-core/src/main/java/org/opensaml/core/xml/io/MarshallingException.java
trunk/opensaml-core/src/main/java/org/opensaml/core/xml/io/UnmarshallingException.java
Modified: trunk/opensaml-core/src/main/java/org/opensaml/core/config/InitializationException.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-core/src/main/java/org/opensaml/core/config/InitializationException.java?rev=3116&r1=3115&r2=3116&view=diff
==============================================================================
--- trunk/opensaml-core/src/main/java/org/opensaml/core/config/InitializationException.java (original)
+++ trunk/opensaml-core/src/main/java/org/opensaml/core/config/InitializationException.java Fri Dec 28 21:16:27 2012
@@ -17,6 +17,8 @@
package org.opensaml.core.config;
+import javax.annotation.Nullable;
+
/**
* Exception indicating a problem during the library initialization process.
*/
@@ -34,7 +36,7 @@
*
* @param msg the exception message
*/
- public InitializationException(String msg) {
+ public InitializationException(@Nullable final String msg) {
super(msg);
}
@@ -43,7 +45,7 @@
*
* @param cause the exception cause
*/
- public InitializationException(Throwable cause) {
+ public InitializationException(@Nullable final Throwable cause) {
super(cause);
}
@@ -53,8 +55,8 @@
* @param message the exception message
* @param cause the exception cause
*/
- public InitializationException(String message, Throwable cause) {
+ public InitializationException(@Nullable final String message, @Nullable final Throwable cause) {
super(message, cause);
}
-}
+}
Modified: trunk/opensaml-core/src/main/java/org/opensaml/core/xml/XMLRuntimeException.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-core/src/main/java/org/opensaml/core/xml/XMLRuntimeException.java?rev=3116&r1=3115&r2=3116&view=diff
==============================================================================
--- trunk/opensaml-core/src/main/java/org/opensaml/core/xml/XMLRuntimeException.java (original)
+++ trunk/opensaml-core/src/main/java/org/opensaml/core/xml/XMLRuntimeException.java Fri Dec 28 21:16:27 2012
@@ -16,6 +16,8 @@
*/
package org.opensaml.core.xml;
+
+import javax.annotation.Nullable;
/**
* An unchecked runtime exception thrown when an unrecoverable error occurs during XML processing.
@@ -37,7 +39,7 @@
*
* @param message exception message
*/
- public XMLRuntimeException(String message) {
+ public XMLRuntimeException(@Nullable final String message) {
super(message);
}
@@ -46,7 +48,7 @@
*
* @param wrappedException exception to be wrapped by this one
*/
- public XMLRuntimeException(Exception wrappedException) {
+ public XMLRuntimeException(@Nullable final Exception wrappedException) {
super(wrappedException);
}
@@ -56,7 +58,7 @@
* @param message exception message
* @param wrappedException exception to be wrapped by this one
*/
- public XMLRuntimeException(String message, Exception wrappedException) {
+ public XMLRuntimeException(@Nullable final String message, @Nullable final Exception wrappedException) {
super(message, wrappedException);
}
}
Modified: trunk/opensaml-core/src/main/java/org/opensaml/core/xml/config/XMLConfigurationException.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-core/src/main/java/org/opensaml/core/xml/config/XMLConfigurationException.java?rev=3116&r1=3115&r2=3116&view=diff
==============================================================================
--- trunk/opensaml-core/src/main/java/org/opensaml/core/xml/config/XMLConfigurationException.java (original)
+++ trunk/opensaml-core/src/main/java/org/opensaml/core/xml/config/XMLConfigurationException.java Fri Dec 28 21:16:27 2012
@@ -16,6 +16,8 @@
*/
package org.opensaml.core.xml.config;
+
+import javax.annotation.Nullable;
/**
* An exception thrown when an error occurs loading information via
@@ -38,7 +40,7 @@
*
* @param message exception message
*/
- public XMLConfigurationException(String message) {
+ public XMLConfigurationException(@Nullable final String message) {
super(message);
}
@@ -47,7 +49,7 @@
*
* @param wrappedException exception to be wrapped by this one
*/
- public XMLConfigurationException(Exception wrappedException) {
+ public XMLConfigurationException(@Nullable final Exception wrappedException) {
super(wrappedException);
[... 96 lines stripped ...]
More information about the commits
mailing list