List of usage examples for javax.naming LimitExceededException getMessage
public String getMessage()
From source file:org.restcomm.connect.interpreter.rcml.Parser.java
@Override public void onReceive(final Object message) throws Exception { final Class<?> klass = message.getClass(); final ActorRef self = self(); final ActorRef sender = sender(); if (GetNextVerb.class.equals(klass)) { try {/*w w w. j a va 2s. c o m*/ final Tag verb = next(); if (verb != null) { sender.tell(verb, self); if (logger.isDebugEnabled()) { logger.debug("Parser, next verb: " + verb.toString()); } } else { final End end = new End(); sender.tell(end, sender); if (logger.isDebugEnabled()) { logger.debug("Parser, next verb: " + end.toString()); } } } catch (LimitExceededException e) { logger.warn(e.getMessage()); sender.tell(new ParserFailed(e, xml), null); } } }