com.funambol.syncclient.spds
Class SyncException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.funambol.syncclient.spds.SyncException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthenticationException, UpdateException

public class SyncException
extends java.lang.Exception

This exception represents the base exception for synchronization engine related error conditions.

Version:
$Id: SyncException.java,v 1.3 2007-12-22 18:09:17 nichele Exp $
See Also:
Serialized Form

Constructor Summary
SyncException()
          Creates a new instance of SyncException without detail message.
SyncException(java.lang.String msg)
          Constructs an instance of SyncException with the specified detail message.
SyncException(java.lang.String msg, java.lang.Throwable cause)
          Constructs an instance of SyncException with the specified detail message and root cause.
 
Method Summary
 java.lang.Throwable getCause()
          Retrieves the cause of this exception
 void printStackTrace()
          Print exception and cause stack trace to the standard error stream
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyncException

public SyncException()
Creates a new instance of SyncException without detail message.


SyncException

public SyncException(java.lang.String msg)
Constructs an instance of SyncException with the specified detail message.

Parameters:
msg - the detail message.

SyncException

public SyncException(java.lang.String msg,
                     java.lang.Throwable cause)
Constructs an instance of SyncException with the specified detail message and root cause.

Parameters:
msg - the detail message.
cause - the root cause
Method Detail

getCause

public java.lang.Throwable getCause()
Retrieves the cause of this exception

Overrides:
getCause in class java.lang.Throwable
Returns:
the cause of this exception or null if it is not due to another exception.

printStackTrace

public void printStackTrace()
Print exception and cause stack trace to the standard error stream

Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2010 Funambol. All Rights Reserved.