Class MyThrowableCustomAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<MyThrowableCustomAssert,MyThrowable>
org.assertj.core.api.AbstractObjectAssert<MyThrowableCustomAssert,MyThrowable>
org.assertj.core.api.AbstractThrowableAssert<MyThrowableCustomAssert,MyThrowable>
com.googlecode.catchexception.throwable.apis.MyThrowableCustomAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<MyThrowableCustomAssert,MyThrowable>, org.assertj.core.api.Descriptable<MyThrowableCustomAssert>, org.assertj.core.api.ExtensionPoints<MyThrowableCustomAssert,MyThrowable>

public class MyThrowableCustomAssert extends org.assertj.core.api.AbstractThrowableAssert<MyThrowableCustomAssert,MyThrowable>
The Class MyThrowableCustomAssert.
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Instantiates a new my throwable custom assert.
  • Method Summary

    Modifier and Type
    Method
    Description
    hasErrorCode(int errorCode)
    Checks for error code.

    Methods inherited from class org.assertj.core.api.AbstractThrowableAssert

    cause, doesNotThrowAnyException, doesNotThrowAnyExceptionExcept, getCause, getRootCause, hasBeenThrown, hasCause, hasCauseExactlyInstanceOf, hasCauseInstanceOf, hasCauseReference, hasMessage, hasMessage, hasMessageContaining, hasMessageContaining, hasMessageContainingAll, hasMessageEndingWith, hasMessageEndingWith, hasMessageFindingMatch, hasMessageMatching, hasMessageMatching, hasMessageNotContaining, hasMessageNotContainingAny, hasMessageStartingWith, hasMessageStartingWith, hasNoCause, hasNoSuppressedExceptions, hasRootCause, hasRootCauseExactlyInstanceOf, hasRootCauseInstanceOf, hasRootCauseMessage, hasRootCauseMessage, hasStackTraceContaining, hasStackTraceContaining, hasSuppressedException, message, rootCause

    Methods inherited from class org.assertj.core.api.AbstractObjectAssert

    as, as, doesNotReturn, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, hasOnlyFields, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison

    Methods inherited from class org.assertj.core.api.AbstractAssert

    actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.assertj.core.api.Descriptable

    as, describedAs, describedAs
  • Constructor Details

    • MyThrowableCustomAssert

      protected MyThrowableCustomAssert(MyThrowable actual)
      Instantiates a new my throwable custom assert.
      Parameters:
      actual - the actual
  • Method Details

    • hasErrorCode

      public MyThrowableCustomAssert hasErrorCode(int errorCode)
      Checks for error code.
      Parameters:
      errorCode - the error code
      Returns:
      the my throwable custom assert