// Path: src/main/java/org/usb4java/javax/ServicesException.java
// public final class ServicesException extends RuntimeException
// {
//     /** Serial version UID. */
//     private static final long serialVersionUID = 1L;
//     
//     /**
//      * Constructor.
//      * 
//      * @param message
//      *            The error message.
//      * @param cause
//      *            The root cause.
//      */
//     ServicesException(final String message, final Throwable cause)
//     {
//         super(message, cause);
//     }
// }


import org.junit.Test;
import org.usb4java.javax.ServicesException;
import static org.junit.Assert.assertEquals;
/*
 * Copyright (C) 2013 Klaus Reimer <k@ailis.de>
 * See LICENSE.md for licensing information.
 */

package org.usb4java.javax;



/**
 * Tests the {@link ServicesException} class.
 * 
 * @author Klaus Reimer (k@ailis.de)
 */
public class ServicesExceptionTest
{
    /**
     * Tests the constructor.
     */
    @Test
    public void testConstructor()
    {
        final Throwable cause = new RuntimeException("");
        final String message = "Bang";
// Path: src/main/java/org/usb4java/javax/ServicesException.java
// public final class ServicesException extends RuntimeException
// {
//     /** Serial version UID. */
//     private static final long serialVersionUID = 1L;
//     
//     /**
//      * Constructor.
//      * 
//      * @param message
//      *            The error message.
//      * @param cause
//      *            The root cause.
//      */
//     ServicesException(final String message, final Throwable cause)
//     {
//         super(message, cause);
//     }
// }


// Path: src/test/java/org/usb4java/javax/ServicesExceptionTest.java
import org.junit.Test;
import org.usb4java.javax.ServicesException;
import static org.junit.Assert.assertEquals;

/*
 * Copyright (C) 2013 Klaus Reimer <k@ailis.de>
 * See LICENSE.md for licensing information.
 */

package org.usb4java.javax;



/**
 * Tests the {@link ServicesException} class.
 * 
 * @author Klaus Reimer (k@ailis.de)
 */
public class ServicesExceptionTest
{
    /**
     * Tests the constructor.
     */
    @Test
    public void testConstructor()
    {
        final Throwable cause = new RuntimeException("");
        final String message = "Bang";
        final ServicesException exception =