Example usage for org.apache.commons.lang3 NotImplementedException NotImplementedException

List of usage examples for org.apache.commons.lang3 NotImplementedException NotImplementedException

Introduction

In this page you can find the example usage for org.apache.commons.lang3 NotImplementedException NotImplementedException.

Prototype

public NotImplementedException(final Throwable cause) 

Source Link

Document

Constructs a NotImplementedException.

Usage

From source file:de.vandermeer.asciilist.commons.AlphaLiteralUtils.java

/**
 * Returns an alphanumeric literal representation of the given number using ASCII-7 upper case characters.
 * @param number to convert/*ww  w  . j a  va  2 s.  c o  m*/
 * @return alphanumeric literal representation
 * @throws NotImplementedException if the number is out of bounds (currently smaller than 1 and larger than 26)
 */
public final static String toAscii(int number) {
    if (number < 1 || number > 26) {
        throw new NotImplementedException(
                "Alphanumeric literals supported 0<number<27 - number was: " + number);
    }
    return new String(Character.toChars(number + 64));
}

From source file:at.beris.jarcommander.filesystem.drive.RemoteDrive.java

@Override
public void setSpaceTotal(long spaceTotal) {
    throw new NotImplementedException("");
}

From source file:name.martingeisse.phunky.runtime.code.declaration.OopTypeDefinition.java

@Override
public void execute(Environment environment) {
    // TODO/*w  ww . ja v  a2s .c  o m*/
    throw new NotImplementedException("");
}

From source file:com.alliander.osgp.adapter.protocol.iec61850.infra.networking.helper.ReadOnlyNodeContainer.java

@Override
public void write() {
    throw new NotImplementedException(NOT_SUPPORTED);
}

From source file:at.beris.jarcommander.filesystem.drive.RemoteDrive.java

@Override
public void setSpaceLeft(long spaceLeft) {
    throw new NotImplementedException("");
}

From source file:com.tealcubegames.minecraft.spigot.versions.actionbars.ActionBarMessager.java

public static ActionBarMessage createActionBarMessage(String message) {
    String serverPackageName = Bukkit.getServer().getClass().getPackage().getName();
    String nmsVersion = serverPackageName.substring(serverPackageName.lastIndexOf(".") + 1);
    switch (nmsVersion) {
    case "v1_10_R1":
        return new com.tealcubegames.minecraft.spigot.versions.v1_10_R1.actionbars.ActionBarMessageImpl(
                message);/*from   w ww.j ava 2s  .  c om*/
    default:
        throw new NotImplementedException(nmsVersion + " is not supported");
    }
}

From source file:de.vandermeer.asciilist.commons.ArabicLiteralUtils.java

/**
 * Returns an alphanumeric literal representation of the given number using UTF Circled Digit/Number characters.
 * @param number to convert// w w  w. j av a  2s  . c o  m
 * @return alphanumeric literal representation
 * @throws NotImplementedException if the number is out of bounds (currently smaller than 1 and larger than 20)
 */
public final static String toCircledDigit(int number) {
    if (number < 1 || number > 20) {
        throw new NotImplementedException(
                "Arabic literals - UTF Circled Digit/Number - supported 0<number<21 - number was: " + number);
    }
    return new String(Character.toChars(number + 9311));
}

From source file:com.alliander.osgp.adapter.protocol.iec61850.infra.networking.helper.ReadOnlyNodeContainer.java

@Override
public void writeBoolean(final SubDataAttribute child, final boolean value) {
    throw new NotImplementedException(NOT_SUPPORTED);
}

From source file:name.martingeisse.phunky.runtime.code.declaration.OopTypeDefinition.java

@Override
public void dump(CodeDumper dumper) {
    // TODO
    throw new NotImplementedException("");
}

From source file:com.netflix.spinnaker.clouddriver.artifacts.config.ArtifactCredentials.java

@JsonIgnore
default List<String> getArtifactNames() {
    throw new NotImplementedException(
            "Artifact names are not supported for artifact types that '" + getName() + "' account handles");
}