org.ops4j.pax.exam.rbc.internal
Class NoSuchServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ops4j.pax.exam.rbc.internal.NoSuchServiceException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchServiceException
extends java.lang.Exception

Thrown when a particular sercice cannot be found.

Since:
0.3.0, December 15, 2008
Author:
Alin Dreghiciu (adreghiciu@gmail.com)
See Also:
Serialized Form

Constructor Summary
NoSuchServiceException(java.lang.Class<?> serviceType)
          Constructor.
 
Method Summary
 java.lang.Class<?> getServiceType()
          Getter.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

NoSuchServiceException

public NoSuchServiceException(java.lang.Class<?> serviceType)
Constructor.

Parameters:
serviceType - class of the service that was not found (cannot be null)
Method Detail

getServiceType

public java.lang.Class<?> getServiceType()
Getter.

Returns:
class of the service that was not found


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.