sync4j.syncclient.spds
Class SyncException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bysync4j.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.

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

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



Copyright © 2003-2005 Sync4j.