net.sf.excha.foo
Interface MethodAnnotatedFoo
- All Known Implementing Classes:
- MethodAnnotatedFooImpl
public interface MethodAnnotatedFoo
ORIGIN_MESSAGE
static final java.lang.String ORIGIN_MESSAGE
- See Also:
- Constant Field Values
EXCEPTION_MESSAGE
static final java.lang.String EXCEPTION_MESSAGE
- See Also:
- Constant Field Values
DELAY_BEFORE_RETRY
static final long DELAY_BEFORE_RETRY
- See Also:
- Constant Field Values
notAnnotatedMethodThrowsIOExceptionThatMustBeSubstitutedByRuntimeException
void notAnnotatedMethodThrowsIOExceptionThatMustBeSubstitutedByRuntimeException()
throws java.io.IOException
- Throws:
java.io.IOException
substituteDefault
void substituteDefault()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteWrapCause
void substituteWrapCause()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteWrapCauseAndSubstituteWithoutConstructorForString
void substituteWrapCauseAndSubstituteWithoutConstructorForString()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteWrapCauseAndSubstituteWithoutConstructorForStringTryingToKeepOriginalMethod
void substituteWrapCauseAndSubstituteWithoutConstructorForStringTryingToKeepOriginalMethod()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteDoNotWrapCauseUsingExceptionWithoutStringConstructor
void substituteDoNotWrapCauseUsingExceptionWithoutStringConstructor()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteDoNotWrapTryInsertMessageToNoStringConstructor
void substituteDoNotWrapTryInsertMessageToNoStringConstructor()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteWithMessage
void substituteWithMessage()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteWithMessageWithSubstituteWithoutConstructorForString
void substituteWithMessageWithSubstituteWithoutConstructorForString()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteWithSubstituteWithoutConstructorForString
void substituteWithSubstituteWithoutConstructorForString()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteKeepMessage
void substituteKeepMessage()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteIOException
void substituteIOException()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteExectyIOException
void substituteExectyIOException()
throws java.lang.Exception
- Throws:
java.lang.Exception
doNotSubstituteDerivedFromIOException
void doNotSubstituteDerivedFromIOException()
throws java.lang.Exception
- Throws:
java.lang.Exception
substituteWithLegalNotRuntimeException
void substituteWithLegalNotRuntimeException()
throws java.io.IOException
- Throws:
java.io.IOException
substituteWithIllegalException
void substituteWithIllegalException()
throws java.net.SocketException
- Throws:
java.net.SocketException
swallowException
java.lang.String swallowException()
throws java.io.IOException
- Throws:
java.io.IOException
notThrowingException
void notThrowingException()
notHandledByCustomExeptionHandler
void notHandledByCustomExeptionHandler()
throws java.io.IOException
- Throws:
java.io.IOException
handledByCustomExeptionHandler
void handledByCustomExeptionHandler()
throws ExceptionWithoutStringConstructor
- Throws:
ExceptionWithoutStringConstructor
handledByCustomExeptionHandlerReturningAValue
boolean handledByCustomExeptionHandlerReturningAValue()
throws ExceptionWithoutStringConstructor
- Throws:
ExceptionWithoutStringConstructor
handledByDoNothingExceptionHandler
java.lang.Boolean handledByDoNothingExceptionHandler()
throws ExceptionWithoutStringConstructor
- Throws:
ExceptionWithoutStringConstructor
noSubstituteExceptionDefinded
void noSubstituteExceptionDefinded()
noSubstituteExceptionDefindedHandledBySuppress
void noSubstituteExceptionDefindedHandledBySuppress()
throws java.io.IOException
- Throws:
java.io.IOException
throwsExceptionOnlyOnFirstCall
void throwsExceptionOnlyOnFirstCall()
throws java.io.IOException
- Throws:
java.io.IOException
throwsExceptionEachTimeItIsCalled
void throwsExceptionEachTimeItIsCalled()
throws java.io.IOException
- Throws:
java.io.IOException
throwsExceptionEachTimeItIsCalledWeExcpectRetriesWithDelay
void throwsExceptionEachTimeItIsCalledWeExcpectRetriesWithDelay()
throws java.io.IOException
- Throws:
java.io.IOException
testingDoNotHandleThrowsSocketExceptionExpectedSocketException
java.lang.String testingDoNotHandleThrowsSocketExceptionExpectedSocketException()
throws java.io.IOException
- Throws:
java.io.IOException
testingDoNotHandleThrowsSocketExceptionExpectedRuntimeException
java.lang.String testingDoNotHandleThrowsSocketExceptionExpectedRuntimeException()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2007-2008. All Rights Reserved.