JavaScript is disabled on your browser.
OSGi™ Enterprise Release 7
Detail:
Field |
Constr |
Method
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.osgi.util.converter.ConversionException
All Implemented Interfaces:
java.io.Serializable
public class ConversionException
extends java.lang.RuntimeException
This Runtime Exception is thrown when an object is requested to be converted
but the conversion cannot be done. For example when the String "test" is to
be converted into a Long.
See Also:
Serialized Form
Constructor Summary
Constructors
Constructor and Description
ConversionException (java.lang.String message)
Create a Conversion Exception with a message.
ConversionException (java.lang.String message,
java.lang.Throwable cause)
Create a Conversion Exception with a message and a nested cause.
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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
ConversionException
public ConversionException(java.lang.String message,
java.lang.Throwable cause)
Create a Conversion Exception with a message and a nested cause.
Parameters:
message
- The message for this exception.
cause
- The causing exception.
OSGi™ Enterprise Release 7
Detail:
Field |
Constr |
Method
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0