Example usage for javax.transaction NotSupportedException NotSupportedException

List of usage examples for javax.transaction NotSupportedException NotSupportedException

Introduction

In this page you can find the example usage for javax.transaction NotSupportedException NotSupportedException.

Prototype

public NotSupportedException() 

Source Link

Usage

From source file:de.zib.gndms.infra.system.GNDMSystem.java

public static @NotNull VEPRef modelEPRT(@NotNull QName keyTypeName, @NotNull EndpointReferenceType epr)
        throws NotSupportedException {
    @NotNull//  w w  w  .  j a v a2  s .c om
    ReferencePropertiesType props = epr.getProperties();
    @NotNull
    MessageElement msgElem = props.get(keyTypeName);
    SimpleResourceKey key = new SimpleResourceKey(keyTypeName, msgElem.getObjectValue());

    // theVEPREF.setSite("");
    // theVEPREF.setRk(key);
    throw new NotSupportedException();
    // return new DSpaceRef();
}