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 String
getBrowseUri()
Getter for the fieldbrowseUri
.String
getDetailParam()
Getter for the fielddetailParam
.String
getDetailUri()
Getter for the fielddetailUri
.String
getElemType()
Getter for the fieldelemType
.String
getElemType(boolean initialCap)
Getter for the fieldelemType
.String
getMessage()
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:
getMessage
in classThrowable
- Returns:
- a
String
object.
-
getElemType
public String getElemType(boolean initialCap)
Getter for the field
elemType
.- Parameters:
initialCap
- a boolean.- Returns:
- a
String
object.
-
getDetailParam
public String getDetailParam()
Getter for the field
detailParam
.- Returns:
- a
String
object.
-
-