Example usage for javax.security.sasl SaslException getMessage

List of usage examples for javax.security.sasl SaslException getMessage

Introduction

In this page you can find the example usage for javax.security.sasl SaslException getMessage.

Prototype

public String getMessage() 

Source Link

Document

Returns the detail message string of this throwable.

Usage

From source file:org.globus.mds.gsi.jndi.SaslClientWrapper.java

public Object getNegotiatedProperty(String propName) {
    try {/*from   w  w w. j a  va2s.c o m*/
        return client.getNegotiatedProperty(propName);
    } catch (com.sun.security.sasl.preview.SaslException e) {
        throw new RuntimeException(e.getMessage());
    }
}