public SemanticOperationExecutionException(SemanticOperation operation, String message) : this(operation) { Debug.WriteLine(message); SemanticOperationHandler semanticOperationHandler = operation.SemanticOperationHandler; if (semanticOperationHandler != null) { StackTrace(semanticOperationHandler.SemanticOperationVariableMap); } }
public SemanticOperationExecutionException(Exception e, SemanticOperation operation, Scope <Object> semanticActionReturnValueMap) : this(operation) { StringBuilder buffy = new StringBuilder(); //edit StringBuilderUtils.acquire(); buffy.Append("Action Object:: ").Append(operation.ObjectStr) .Append(" :: is NULL or DOES NOT EXIST\n"); buffy.Append("Action ReturnValue:: ").Append(operation.Name) .Append(" :: is NULL or DOES NOT EXIST FOR SPECIFIED OBJECT"); String errorMessage = buffy.ToString(); //StringBuilderUtils.release(buffy); Debug.WriteLine(errorMessage); StackTrace(semanticActionReturnValueMap); //System.out.println("######## POSSIBLE CAUSE:"); //e.printStackTrace(); Debug.WriteLine("############################################################################################"); }
public SemanticOperationExecutionException(SemanticOperation action) { Debug.WriteLine("\n########################### ERROR " + action.GetOperationName() + " FAILED ###########################"); //Console.WriteLine(ERROR_STRING); }