Remove unused code

This commit is contained in:
Klaus Reimer 2013-04-12 21:27:52 +02:00
parent 1bd9b55cf3
commit f867fc1f51
2 changed files with 0 additions and 26 deletions

View File

@ -5,7 +5,6 @@
package de.ailis.usb4java;
/**
* Thrown when a USB device was not found by id.
*

View File

@ -35,31 +35,6 @@ public final class Usb4JavaRuntimeException extends RuntimeException
this.errorCode = errorCode;
}
/**
* Constructor.
*
* @param message
* The error message.
*/
public Usb4JavaRuntimeException(final String message)
{
super("USB error: " + message);
this.errorCode = 0;
}
/**
* Constructor.
*
* @param errorCode
* The error code.
*/
public Usb4JavaRuntimeException(final int errorCode)
{
super(String.format("USB error %d: %s", -errorCode,
LibUSB.errorName(errorCode)));
this.errorCode = errorCode;
}
/**
* Constructor.
*