com.ace.moab.api.connect.exception
Class MoabCommunicationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ace.moab.api.connect.exception.MoabCommunicationException
All Implemented Interfaces:
java.io.Serializable

public class MoabCommunicationException
extends java.lang.Exception

This is thrown when there is some kind of communication exception between moab and MCM. It can contain the original exception. For example, when moab's client commands can't contact moab, they won't return valid XML. This causes a SAXParseException, which is then nested in a MoabCommunicationException

Author:
seeleyn
See Also:
Serialized Form

Constructor Summary
MoabCommunicationException(java.lang.String message)
          Constructor for a MoabCommunicationException
MoabCommunicationException(java.lang.String message, java.lang.Throwable cause)
          Constructor for a MoabCommunicationException
 
Method Summary
 
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

MoabCommunicationException

public MoabCommunicationException(java.lang.String message,
                                  java.lang.Throwable cause)
Constructor for a MoabCommunicationException

Parameters:
message - Some descriptive message
cause - The Exception that allowed mcm to detect that there was a problem contacting moab (eg. SAXParseException)

MoabCommunicationException

public MoabCommunicationException(java.lang.String message)
Constructor for a MoabCommunicationException

Parameters:
message - Some descriptive message


Copyright © 2001-2009 Cluster Resources, Inc. All Rights Reserved.