org.opennms.web.element
Class ElementIdNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.opennms.web.element.ElementIdNotFoundException
All Implemented Interfaces:
Serializable

public class ElementIdNotFoundException
extends RuntimeException

ElementIdNotFoundException class.

Since:
1.8.1
Version:
$Id: $
Author:
ranger
See Also:
Serialized Form

Field Summary
protected  String badId
           
protected  String browseUri
           
protected  String detailParam
           
protected  String detailUri
           
protected  String elemType
           
protected  String message
           
 
Constructor Summary
ElementIdNotFoundException(String msg, String id, String elemType)
          Constructor for ElementIdNotFoundException.
ElementIdNotFoundException(String msg, String id, String elemType, String browseUri)
          Constructor for ElementIdNotFoundException.
ElementIdNotFoundException(String msg, String id, String elemType, String detailUri, String detailParam, String browseUri)
          Constructor for ElementIdNotFoundException.
 
Method Summary
 String getBadID()
          getBadID
 String getBrowseUri()
          Getter for the field browseUri.
 String getDetailParam()
          Getter for the field detailParam.
 String getDetailUri()
          Getter for the field detailUri.
 String getElemType()
          Getter for the field elemType.
 String getElemType(boolean initialCap)
          Getter for the field elemType.
 String getMessage()
          Getter for the field message.
 
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
 

Field Detail

badId

protected String badId

message

protected String message

elemType

protected String elemType

detailUri

protected String detailUri

detailParam

protected String detailParam

browseUri

protected String browseUri
Constructor Detail

ElementIdNotFoundException

public ElementIdNotFoundException(String msg,
                                  String id,
                                  String elemType,
                                  String detailUri,
                                  String detailParam,
                                  String browseUri)

Constructor for ElementIdNotFoundException.

Parameters:
msg - a String object.
id - a String object.
elemType - a String object.
detailUri - a String object.
detailParam - a String object.
browseUri - a String object.

ElementIdNotFoundException

public ElementIdNotFoundException(String msg,
                                  String id,
                                  String elemType,
                                  String browseUri)

Constructor for ElementIdNotFoundException.

Parameters:
msg - a String object.
id - a String object.
elemType - a String object.
browseUri - a String object.

ElementIdNotFoundException

public ElementIdNotFoundException(String msg,
                                  String id,
                                  String elemType)

Constructor for ElementIdNotFoundException.

Parameters:
msg - a String object.
id - a String object.
elemType - a String object.
Method Detail

getMessage

public String getMessage()

Getter for the field message.

Overrides:
getMessage in class Throwable
Returns:
a String object.

getBadID

public String getBadID()

getBadID

Returns:
a String object.

getElemType

public String getElemType()

Getter for the field elemType.

Returns:
a String object.

getElemType

public String getElemType(boolean initialCap)

Getter for the field elemType.

Parameters:
initialCap - a boolean.
Returns:
a String object.

getDetailUri

public String getDetailUri()

Getter for the field detailUri.

Returns:
a String object.

getDetailParam

public String getDetailParam()

Getter for the field detailParam.

Returns:
a String object.

getBrowseUri

public String getBrowseUri()

Getter for the field browseUri.

Returns:
a String object.


Copyright © 2011. All Rights Reserved.