Class AnalysisExceptionTest

java.lang.Object
ubic.gemma.core.analysis.expression.diff.AnalysisExceptionTest

public class AnalysisExceptionTest extends Object
Unit tests for the differential-expression analysis exception family: AnalysisException (base) and its sub-types (MeanVarianceFailureException). Each exception carries the DifferentialExpressionAnalysisConfig that was active at the time of failure; this contract is what lets upstream error handlers report which analysis configuration triggered the failure. Tests pin:
  • both constructors propagate the config + cause correctly
  • the sub-type chain is intact (instanceof RuntimeException stays true)
  • MeanVarianceFailureException routes via the cause-bearing constructor
Author:
claude
  • Constructor Details

    • AnalysisExceptionTest

      public AnalysisExceptionTest()
  • Method Details

    • analysisException_messageConstructor_carriesMessageAndConfig

      @Test public void analysisException_messageConstructor_carriesMessageAndConfig()
    • analysisException_causeConstructor_carriesCauseAndConfig

      @Test public void analysisException_causeConstructor_carriesCauseAndConfig()
    • analysisException_isARuntimeException

      @Test public void analysisException_isARuntimeException()
    • meanVarianceFailureException_carriesCauseAndConfig

      @Test public void meanVarianceFailureException_carriesCauseAndConfig()
    • meanVarianceFailureException_extendsAnalysisException

      @Test public void meanVarianceFailureException_extendsAnalysisException()
    • analysisException_nullConfig_isPermitted_butReadsAsNull

      @Test public void analysisException_nullConfig_isPermitted_butReadsAsNull()