org.opennms.web.element
Class ElementNotFoundException

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

public class ElementNotFoundException
extends RuntimeException

ElementNotFoundException class.

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

Field Summary
protected  String browseUri
           
protected  String detailParam
           
protected  String detailUri
           
protected  String elemType
           
protected  String message
           
 
Constructor Summary
ElementNotFoundException(String msg, String elemType)
          Constructor for ElementNotFoundException.
ElementNotFoundException(String msg, String elemType, String browseUri)
          Constructor for ElementNotFoundException.
ElementNotFoundException(String msg, String elemType, String detailUri, String detailParam, String browseUri)
          Constructor for ElementNotFoundException.
 
Method Summary
 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

message

protected String message

elemType

protected String elemType

detailUri

protected String detailUri

detailParam

protected String detailParam

browseUri

protected String browseUri
Constructor Detail

ElementNotFoundException

public ElementNotFoundException(String msg,
                                String elemType,
                                String detailUri,
                                String detailParam,
                                String browseUri)

Constructor for ElementNotFoundException.

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

ElementNotFoundException

public ElementNotFoundException(String msg,
                                String elemType,
                                String browseUri)

Constructor for ElementNotFoundException.

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

ElementNotFoundException

public ElementNotFoundException(String msg,
                                String elemType)

Constructor for ElementNotFoundException.

Parameters:
msg - 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.

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.