Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.clients.exceptions
Class HRInvalidProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.esri.gpt.framework.context.ApplicationException
              extended by com.esri.gpt.catalog.harvest.clients.exceptions.HRException
                  extended by com.esri.gpt.catalog.harvest.clients.exceptions.HRInvalidProtocolException
All Implemented Interfaces:
Serializable

public class HRInvalidProtocolException
extends HRException

Invalid protocol exception. Thrown when attributes defining connection protocol are invalid.

See Also:
Serialized Form

Nested Class Summary
static class HRInvalidProtocolException.ProtocolElement
          Protocol elements.
 
Constructor Summary
HRInvalidProtocolException(HRInvalidProtocolException.ProtocolElement element, String msg)
          Constructs an instance of HRInvalidProtocolException with the specified detail message.
HRInvalidProtocolException(HRInvalidProtocolException.ProtocolElement element, String msg, Throwable t)
          Constructs an instance of HRInvalidProtocolException with the specified detail message and cause.
 
Method Summary
 HRInvalidProtocolException.ProtocolElement getElement()
          Gets protocol element which is invalid.
 
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

HRInvalidProtocolException

public HRInvalidProtocolException(HRInvalidProtocolException.ProtocolElement element,
                                  String msg)
Constructs an instance of HRInvalidProtocolException with the specified detail message.

Parameters:
element - protocol element which is invalid
msg - the detail message

HRInvalidProtocolException

public HRInvalidProtocolException(HRInvalidProtocolException.ProtocolElement element,
                                  String msg,
                                  Throwable t)
Constructs an instance of HRInvalidProtocolException with the specified detail message and cause.

Parameters:
element - protocol element which is invalid
msg - the detail message
t - cause of the exceptio (stack trace)
Method Detail

getElement

public HRInvalidProtocolException.ProtocolElement getElement()
Gets protocol element which is invalid.

Returns:
definition element

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.