Package org.opennms.web.element
Class ElementNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- 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
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBrowseUri()Getter for the fieldbrowseUri.StringgetDetailParam()Getter for the fielddetailParam.StringgetDetailUri()Getter for the fielddetailUri.StringgetElemType()Getter for the fieldelemType.StringgetElemType(boolean initialCap)Getter for the fieldelemType.StringgetMessage()Getter for the fieldmessage.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ElementNotFoundException
public ElementNotFoundException(String msg, String elemType, String detailUri, String detailParam, String browseUri)
Constructor for ElementNotFoundException.
-
ElementNotFoundException
public ElementNotFoundException(String msg, String elemType, String browseUri)
Constructor for ElementNotFoundException.
-
-
Method Detail
-
getMessage
public String getMessage()
Getter for the field
message.- Overrides:
getMessagein classThrowable- Returns:
- a
Stringobject.
-
getElemType
public String getElemType(boolean initialCap)
Getter for the field
elemType.- Parameters:
initialCap- a boolean.- Returns:
- a
Stringobject.
-
getDetailParam
public String getDetailParam()
Getter for the field
detailParam.- Returns:
- a
Stringobject.
-
-