org.wso2.carbon.device.mgt.mobile.dao
Class MobileDeviceManagementDAOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.wso2.carbon.device.mgt.mobile.dao.MobileDeviceManagementDAOException
All Implemented Interfaces:
Serializable

public class MobileDeviceManagementDAOException
extends Exception

Custom exception class for mobile device specific data access related exceptions.

See Also:
Serialized Form

Constructor Summary
MobileDeviceManagementDAOException(String message)
          Constructs a new MobileDeviceManagementDAOException with the specified detail message.
MobileDeviceManagementDAOException(String message, Exception nestedException)
          Constructs a new MobileDeviceManagementDAOException with the specified detail message and nested exception.
MobileDeviceManagementDAOException(String message, Throwable cause)
          Constructs a new MobileDeviceManagementDAOException with the specified detail message and cause.
MobileDeviceManagementDAOException(Throwable cause)
          Constructs a new MobileDeviceManagementDAOException with the specified and cause.
 
Method Summary
 String getMessage()
           
 void setErrorMessage(String errorMessage)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

MobileDeviceManagementDAOException

public MobileDeviceManagementDAOException(String message,
                                          Exception nestedException)
Constructs a new MobileDeviceManagementDAOException with the specified detail message and nested exception.

Parameters:
message - error message
nestedException - exception

MobileDeviceManagementDAOException

public MobileDeviceManagementDAOException(String message,
                                          Throwable cause)
Constructs a new MobileDeviceManagementDAOException with the specified detail message and cause.

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

MobileDeviceManagementDAOException

public MobileDeviceManagementDAOException(String message)
Constructs a new MobileDeviceManagementDAOException with the specified detail message.

Parameters:
message - the detail message.

MobileDeviceManagementDAOException

public MobileDeviceManagementDAOException(Throwable cause)
Constructs a new MobileDeviceManagementDAOException with the specified and cause.

Parameters:
cause - the cause of this exception.
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

setErrorMessage

public void setErrorMessage(String errorMessage)


Copyright © 2015 WSO2. All rights reserved.