org.opensync.engine.server
Class OpenSyncException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.opensync.engine.server.OpenSyncException
All Implemented Interfaces:
java.io.Serializable

public class OpenSyncException
extends java.lang.Exception

This object represent a functionnal exception

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
OpenSyncException(java.lang.String msg)
          Construct a OpenSyncExcdeption
OpenSyncException(java.lang.String msgKey, java.lang.Object[] params)
          Construct a OpenSyncExcdeption
 
Method Summary
static java.lang.String formatMsgKey(java.lang.String msgKey, java.lang.Object[] params)
          A format helper function
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenSyncException

public OpenSyncException(java.lang.String msg)
Construct a OpenSyncExcdeption

Parameters:
msg - the message of the exception

OpenSyncException

public OpenSyncException(java.lang.String msgKey,
                         java.lang.Object[] params)
Construct a OpenSyncExcdeption

Parameters:
msgKey - the message key of the exception
params - the parameters used to format the message
Method Detail

formatMsgKey

public static java.lang.String formatMsgKey(java.lang.String msgKey,
                                            java.lang.Object[] params)
A format helper function

Parameters:
msgKey - the message key of the exception
params - the parameters used to format the message


Copyright © 2004 sourceforge. All Rights Reserved.