public class

InitializationError

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.junit.runners.model.InitializationError

Class Overview

Represents one or more problems encountered while initializing a Runner

Summary

Public Constructors
InitializationError(List<Throwable> errors)
Construct a new InitializationError with one or more errors errors as causes
InitializationError(Throwable error)
InitializationError(String string)
Construct a new InitializationError with one cause with message string
Public Methods
List<Throwable> getCauses()
Returns one or more Throwables that led to this initialization error.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InitializationError (List<Throwable> errors)

Construct a new InitializationError with one or more errors errors as causes

public InitializationError (Throwable error)

public InitializationError (String string)

Construct a new InitializationError with one cause with message string

Public Methods

public List<Throwable> getCauses ()

Returns one or more Throwables that led to this initialization error.