Example usage for javax.activation UnsupportedDataTypeException UnsupportedDataTypeException

List of usage examples for javax.activation UnsupportedDataTypeException UnsupportedDataTypeException

Introduction

In this page you can find the example usage for javax.activation UnsupportedDataTypeException UnsupportedDataTypeException.

Prototype

public UnsupportedDataTypeException() 

Source Link

Document

Constructs an UnsupportedDataTypeException with no detail message.

Usage

From source file:org.aksw.resparql.IMyHandler.java

private SimpleResponse process(HttpExchange t) throws Exception {
    String request = t.getRequestURI().toString();

    Object o = ric.invoke(request);

    if (o instanceof SimpleResponse)
        return (SimpleResponse) o;

    throw new UnsupportedDataTypeException();
}