public class OCAlwaysRetryRuntimeException
extends org.springframework.dao.ConcurrencyFailureException
Constructor and Description |
---|
OCAlwaysRetryRuntimeException(java.lang.String message)
Creates an OCAlwaysRetryRuntimeException with a given message
This will retry the exception no matter what (even if Alfresco originally didn't want to)
|
OCAlwaysRetryRuntimeException(java.lang.String message,
java.lang.Throwable cause)
Creates an OCAlwaysRetryRuntimeException with a given message and cause
This will retry the exception no matter what (even if Alfresco originally didn't want to)
|
OCAlwaysRetryRuntimeException(java.lang.Throwable cause)
Creates an OCAlwaysRetryRuntimeException with a given cause
This will retry the exception no matter what (even if Alfresco originally didn't want to)
Note that this cause is not actually added to the stacktrace (but will appear in a printStackTrace)
|
Modifier and Type | Method and Description |
---|---|
void |
printStackTrace()
Overridden to print the stacktrace of our "original" exception, in the case we are hiding it from Alfresco
Otherwise it just does a normal printStackTrace
|
void |
printStackTrace(java.io.PrintStream s)
Overridden to print the stacktrace of our "original" exception, in the case we are hiding it from Alfresco
Otherwise it just does a normal printStackTrace
|
void |
printStackTrace(java.io.PrintWriter s)
Overridden to print the stacktrace of our "original" exception, in the case we are hiding it from Alfresco
Otherwise it just does a normal printStackTrace
|
contains, getMessage, getMostSpecificCause, getRootCause
public OCAlwaysRetryRuntimeException(java.lang.String message)
message
- - the message to create the exception withpublic OCAlwaysRetryRuntimeException(java.lang.Throwable cause)
cause
- - The cause to create the exception with (not really added to the stack trace, but will appear in printStackTraces)public OCAlwaysRetryRuntimeException(java.lang.String message, java.lang.Throwable cause)
message
- - the message to create the exception withcause
- - The cause to create the exception with (not really added to the stack trace, but will appear in printStackTraces)public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable