Search in sources :

Example 21 with AcsJIllegalArgumentEx

use of alma.ACSErrTypeCommon.wrappers.AcsJIllegalArgumentEx in project ACS by ACS-Community.

the class Helper method splitChannelAndDomainName.

private static String[] splitChannelAndDomainName(String channelWithDomainName) throws AcsJIllegalArgumentEx {
    String[] ret = channelWithDomainName.split(NAMESERVICE_BINDING_NC_DOMAIN_SEPARATOR.value);
    if (ret.length == 2) {
        return ret;
    } else {
        AcsJIllegalArgumentEx ex = new AcsJIllegalArgumentEx();
        ex.setVariable("channelWithDomainName");
        ex.setValue(channelWithDomainName);
        ex.setErrorDesc("No unique NC - domain separation found in NC binding.");
        throw ex;
    }
}
Also used : AcsJIllegalArgumentEx(alma.ACSErrTypeCommon.wrappers.AcsJIllegalArgumentEx)

Aggregations

AcsJIllegalArgumentEx (alma.ACSErrTypeCommon.wrappers.AcsJIllegalArgumentEx)21 IllegalLogLevelsEx (alma.Logging.IllegalLogLevelsEx)12 UnnamedLogger (alma.maci.loggingconfig.UnnamedLogger)6 AcsJContainerServicesEx (alma.JavaContainerError.wrappers.AcsJContainerServicesEx)3 AcsJException (alma.acs.exceptions.AcsJException)2 LogConfig (alma.acs.logging.config.LogConfig)2 ReconnectionCallback (NotifyExt.ReconnectionCallback)1 ReconnectionRegistry (NotifyExt.ReconnectionRegistry)1 AcsJCORBAProblemEx (alma.ACSErrTypeCommon.wrappers.AcsJCORBAProblemEx)1 AcsJGenericErrorEx (alma.ACSErrTypeCommon.wrappers.AcsJGenericErrorEx)1 AcsJIllegalStateEventEx (alma.ACSErrTypeCommon.wrappers.AcsJIllegalStateEventEx)1 AcsJStateMachineActionEx (alma.ACSErrTypeCommon.wrappers.AcsJStateMachineActionEx)1 LogLevels (alma.Logging.LoggingConfigurablePackage.LogLevels)1 ComponentLifecycleException (alma.acs.component.ComponentLifecycleException)1 AcsLogLevel (alma.acs.logging.AcsLogLevel)1 LockableUnnamedLogger (alma.acs.logging.config.LogConfig.LockableUnnamedLogger)1 AcsLogLevelDefinition (alma.acs.logging.level.AcsLogLevelDefinition)1 OSPushConsumerPOATie (alma.acsnc.OSPushConsumerPOATie)1 LogTypeHelper (com.cosylab.logging.engine.log.LogTypeHelper)1 Date (java.util.Date)1