org.openl.message
Class OpenLMessagesUtils
java.lang.Object
org.openl.message.OpenLMessagesUtils
public class OpenLMessagesUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenLMessagesUtils
public OpenLMessagesUtils()
addError
public static void addError(String message)
addError
public static void addError(OpenLCompilationException error)
addError
public static void addError(Throwable exception)
addErrors
public static void addErrors(OpenLCompilationException[] errors)
addWarn
public static void addWarn(String message)
addWarn
public static void addWarn(String message,
ISyntaxNode source)
addMessage
public static void addMessage(String message,
Severity severity)
addMessage
public static void addMessage(OpenLMessage message)
newMessages
public static List<OpenLMessage> newMessages(OpenLException[] exceptions)
newMessages
public static List<OpenLMessage> newMessages(Throwable exception)
groupMessagesBySeverity
public static Map<Severity,List<OpenLMessage>> groupMessagesBySeverity(List<OpenLMessage> messages)
filterMessagesBySeverity
public static List<OpenLMessage> filterMessagesBySeverity(List<OpenLMessage> messages,
Severity severity)
Copyright © 2012. All Rights Reserved.