org.openmdx.base.exception
Class NamingExceptions

java.lang.Object
  extended by org.openmdx.base.exception.NamingExceptions

public class NamingExceptions
extends Object

Naming Exception Categorization


Field Summary
static char DELIMITER
          The delimiter between RemoteException class and detail Throwable class.
static String PROPERTIES
          The retrieable remote exceptions properties
 
Constructor Summary
NamingExceptions()
           
 
Method Summary
static boolean isRetriable(NamingException exception)
          Tells whether an operation throwing a given NamingException is retriable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTIES

public static final String PROPERTIES
The retrieable remote exceptions properties

See Also:
Constant Field Values

DELIMITER

public static final char DELIMITER
The delimiter between RemoteException class and detail Throwable class.

See Also:
Constant Field Values
Constructor Detail

NamingExceptions

public NamingExceptions()
Method Detail

isRetriable

public static boolean isRetriable(NamingException exception)
Tells whether an operation throwing a given NamingException is retriable

Parameters:
exception - the NamingException to be tested
Returns:
true if a remote call throwing the given exception may safely be retried.
Throws:
NullPointerException - if exception is null


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.