it.dtt.ca.exception
Class SimulcrypException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by it.dtt.ca.exception.CARuntimeException
                  extended by it.dtt.ca.exception.SimulcrypException
All Implemented Interfaces:
java.io.Serializable

public class SimulcrypException
extends CARuntimeException

This exception is thrown when a CAManager is requested for a particular service, however multiple CA Managers are available. The exception will contain a list of CA provider/broadcaster names being the intersection of those installed in the box and those used to scramble the service.

See Also:
Serialized Form

Constructor Summary
SimulcrypException(java.lang.String[] providers, java.lang.String[] broadcasters)
          Constructs the exception.
SimulcrypException(java.lang.String[] providers, java.lang.String[] broadcasters, java.lang.String message)
          Construct the exception with a message.
 
Method Summary
 java.lang.String[] getBroadcasters()
           
 java.lang.String[] getProviders()
           
 
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

SimulcrypException

public SimulcrypException(java.lang.String[] providers,
                          java.lang.String[] broadcasters)
Constructs the exception.

Parameters:
providers - - The providers available to scramble the current service.
broadcasters - - The broadcasters available to scramble the current service.

SimulcrypException

public SimulcrypException(java.lang.String[] providers,
                          java.lang.String[] broadcasters,
                          java.lang.String message)
Construct the exception with a message.

Parameters:
providers - - The providers available to scramble the current service.
broadcasters - - The broadcasters available to scramble the current service.
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
Method Detail

getProviders

public java.lang.String[] getProviders()

getBroadcasters

public java.lang.String[] getBroadcasters()