You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2010/06/04 09:28:52 UTC
svn commit: r951310 -
/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/
Author: fmui
Date: Fri Jun 4 07:28:51 2010
New Revision: 951310
URL: http://svn.apache.org/viewvc?rev=951310&view=rev
Log:
exception codes should never be null
Modified:
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConnectionException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConstraintException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisContentAlreadyExistsException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisFilterNotValidException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisInvalidArgumentException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNameConstraintViolationException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNotSupportedException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisObjectNotFoundException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisPermissionDeniedException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisRuntimeException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStorageException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStreamNotSupportedException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisUpdateConflictException.java
incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisVersioningException.java
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConnectionException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConnectionException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConnectionException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConnectionException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS Connection Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisConnectionException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisConnectionException ext
}
public CmisConnectionException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisConnectionException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConstraintException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConstraintException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConstraintException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisConstraintException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS Constraint Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisConstraintException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisConstraintException ext
}
public CmisConstraintException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisConstraintException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisContentAlreadyExistsException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisContentAlreadyExistsException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisContentAlreadyExistsException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisContentAlreadyExistsException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS ContentAlreadyExists Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisContentAlreadyExistsException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisContentAlreadyExistsExc
}
public CmisContentAlreadyExistsException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisContentAlreadyExistsException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisFilterNotValidException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisFilterNotValidException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisFilterNotValidException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisFilterNotValidException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS FilterNotValid Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisFilterNotValidException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisFilterNotValidException
}
public CmisFilterNotValidException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisFilterNotValidException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisInvalidArgumentException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisInvalidArgumentException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisInvalidArgumentException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisInvalidArgumentException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS InvalidArgument Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisInvalidArgumentException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisInvalidArgumentExceptio
}
public CmisInvalidArgumentException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisInvalidArgumentException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNameConstraintViolationException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNameConstraintViolationException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNameConstraintViolationException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNameConstraintViolationException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS NameConstraintViolation Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisNameConstraintViolationException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisNameConstraintViolation
}
public CmisNameConstraintViolationException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisNameConstraintViolationException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNotSupportedException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNotSupportedException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNotSupportedException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisNotSupportedException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS NotSupported Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisNotSupportedException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisNotSupportedException e
}
public CmisNotSupportedException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisNotSupportedException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisObjectNotFoundException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisObjectNotFoundException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisObjectNotFoundException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisObjectNotFoundException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS ObjectNotFound Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisObjectNotFoundException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisObjectNotFoundException
}
public CmisObjectNotFoundException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisObjectNotFoundException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisPermissionDeniedException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisPermissionDeniedException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisPermissionDeniedException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisPermissionDeniedException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS PermissionDenied Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisPermissionDeniedException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisPermissionDeniedExcepti
}
public CmisPermissionDeniedException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisPermissionDeniedException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisRuntimeException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisRuntimeException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisRuntimeException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisRuntimeException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS Runtime Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisRuntimeException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisRuntimeException extend
}
public CmisRuntimeException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisRuntimeException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStorageException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStorageException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStorageException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStorageException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS Storage Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisStorageException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisStorageException extend
}
public CmisStorageException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisStorageException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStreamNotSupportedException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStreamNotSupportedException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStreamNotSupportedException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisStreamNotSupportedException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS StreamNotSupported Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisStreamNotSupportedException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisStreamNotSupportedExcep
}
public CmisStreamNotSupportedException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisStreamNotSupportedException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisUpdateConflictException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisUpdateConflictException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisUpdateConflictException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisUpdateConflictException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS UpdateConflict Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisUpdateConflictException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisUpdateConflictException
}
public CmisUpdateConflictException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisUpdateConflictException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}
Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisVersioningException.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisVersioningException.java?rev=951310&r1=951309&r2=951310&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisVersioningException.java (original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-api/src/main/java/org/apache/chemistry/opencmis/commons/exceptions/CmisVersioningException.java Fri Jun 4 07:28:51 2010
@@ -22,9 +22,6 @@ import java.math.BigInteger;
/**
* CMIS Versioning Exception.
- *
- * @author <a href="mailto:fmueller@opentext.com">Florian Müller</a>
- *
*/
public class CmisVersioningException extends CmisBaseException {
@@ -51,10 +48,10 @@ public class CmisVersioningException ext
}
public CmisVersioningException(String message, Throwable cause) {
- super(message, (BigInteger) null, cause);
+ super(message, BigInteger.ZERO, cause);
}
public CmisVersioningException(String message) {
- super(message, (BigInteger) null);
+ super(message, BigInteger.ZERO);
}
}