com.funambol.syncclient.spap
Class AssetManagementException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.funambol.syncclient.spap.AssetManagementException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AssetInstallationException

public class AssetManagementException
extends java.lang.Exception

This exception represents an error for the asset management.

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

Constructor Summary
AssetManagementException(Asset asset, java.lang.String message)
          Constructs an instance of AssetManagementException with the specified Asset and the specified message.
AssetManagementException(Asset asset, java.lang.String message, java.lang.Throwable cause)
          Constructs an instance of AssetManagementException with the specified Asset and the specified message and the cause.
AssetManagementException(java.lang.String message)
          Constructs an instance of AssetManagementException with the specified detail message.
AssetManagementException(java.lang.String idAsset, java.lang.String message)
          Constructs an instance of AssetManagementException with the specified idAsset and the specified message
AssetManagementException(java.lang.String idAsset, java.lang.String message, java.lang.Throwable cause)
          Constructs an instance of AssetManagementException with the specified idAsset and the specified message and the cause.
AssetManagementException(java.lang.String message, java.lang.Throwable cause)
          Constructs an instance of AssetManagementException with the specified detail message.
 
Method Summary
 void printStackTrace()
          Prints the exception and its cause (if any) stack trace
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssetManagementException

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

Parameters:
message - the detail message.

AssetManagementException

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

Parameters:
message - the detail message.
cause - the cause of this error.

AssetManagementException

public AssetManagementException(Asset asset,
                                java.lang.String message)
Constructs an instance of AssetManagementException with the specified Asset and the specified message.

Parameters:
asset - the asset involved in this error.
message - the detail message.

AssetManagementException

public AssetManagementException(Asset asset,
                                java.lang.String message,
                                java.lang.Throwable cause)
Constructs an instance of AssetManagementException with the specified Asset and the specified message and the cause.

Parameters:
asset - the asset involved in this error.
message - the detail message.
cause - the cause of this error.

AssetManagementException

public AssetManagementException(java.lang.String idAsset,
                                java.lang.String message)
Constructs an instance of AssetManagementException with the specified idAsset and the specified message

Parameters:
idAsset - the idAsset involved in this error.
message - the detail message.

AssetManagementException

public AssetManagementException(java.lang.String idAsset,
                                java.lang.String message,
                                java.lang.Throwable cause)
Constructs an instance of AssetManagementException with the specified idAsset and the specified message and the cause.

Parameters:
idAsset - the idAsset involved in this error.
message - the detail message.
cause - the cause of this error.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Prints the exception and its cause (if any) stack trace

Overrides:
printStackTrace in class java.lang.Throwable


Copyright © 2010 Funambol. All Rights Reserved.