org.openmdx.base.exception
Class RemoteExceptions

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

public class RemoteExceptions
extends Object

Remote 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
RemoteExceptions()
           
 
Method Summary
static boolean isRetriable(RemoteException exception)
          Tells whether an operation throwing a given RemoteException 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

RemoteExceptions

public RemoteExceptions()
Method Detail

isRetriable

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

Parameters:
exception - the RemoteException 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.