Example usage for javax.naming.event NamingExceptionEvent getException

List of usage examples for javax.naming.event NamingExceptionEvent getException

Introduction

In this page you can find the example usage for javax.naming.event NamingExceptionEvent getException.

Prototype

public NamingException getException() 

Source Link

Document

Retrieves the exception that was thrown.

Usage

From source file:Main.java

public void namingExceptionThrown(NamingExceptionEvent evt) {
    System.out.println(evt.getException().getExplanation());
}

From source file:Main.java

public void namingExceptionThrown(NamingExceptionEvent evt) {
    System.out.println(evt.getException());
}