Example usage for java.lang AssertionError AssertionError

List of usage examples for java.lang AssertionError AssertionError

Introduction

In this page you can find the example usage for java.lang AssertionError AssertionError.

Prototype

public AssertionError() 

Source Link

Document

Constructs an AssertionError with no detail message.

Usage

From source file:com.minlia.cloud.framework.common.util.RandomDataUtil.java

private RandomDataUtil() {
    throw new AssertionError();
}

From source file:net.cyllene.hackerrank.downloader.DownloaderSettings.java

private DownloaderSettings() {
    throw new AssertionError();
}

From source file:com.cognifide.qa.bb.expectedconditions.UrlExpectedConditions.java

private UrlExpectedConditions() {
    throw new AssertionError();
}

From source file:com.contentful.vault.Sql.java

private Sql() {
    throw new AssertionError();
}

From source file:oobbit.security.AccessLevelToGrantedAuthority.java

@Deprecated
public SimpleGrantedAuthority accessLevelToSimpleGrantedAuthority(int accessLevel) {
    switch (accessLevel) {
    case 0://  w w w .  j a  va  2s  . c o  m
        return new SimpleGrantedAuthority("ROLE_BANNED");
    case 1:
        return new SimpleGrantedAuthority("ROLE_USER");
    case 10:
        return new SimpleGrantedAuthority("ROLE_MODERATOR");
    case 100:
        return new SimpleGrantedAuthority("ROLE_ADMINISTRATOR");
    default:
        throw new AssertionError();
    }
}

From source file:com.minlia.cloud.framework.test.common.web.util.ClientConstraintsUtil.java

private ClientConstraintsUtil() {
    throw new AssertionError();
}

From source file:com.smartitengineering.util.bean.ResourceFactory.java

private ResourceFactory() {
    throw new AssertionError();
}

From source file:com.krminc.phr.api.converter.util.ConverterUtils.java

private ConverterUtils() {
    throw new AssertionError();
}

From source file:me.StevenLawson.BukkitTelnetClient.BTC_PlayerListDecoder.java

private BTC_PlayerListDecoder() {
    throw new AssertionError();
}

From source file:com.netdimensions.client.Commands.java

private Commands() {
    throw new AssertionError();
}