public class ClientUtil extends Object
Constructor and Description |
---|
ClientUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isEmpty(Name name) |
static <T> NamingEnumeration<T> |
namingEnumeration(Collection<T> collection) |
static NamingException |
namingException(String message,
Throwable cause)
Creates an initializes a naming exception.
|
public static NamingException namingException(String message, Throwable cause)
IOException
then a
NamingIOException
is created instead.message
- The exception messagecause
- The exception causepublic static boolean isEmpty(Name name)
public static <T> NamingEnumeration<T> namingEnumeration(Collection<T> collection)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.