com.atlassian.bamboo.plugins.rest.common.exception
Class XmlCompatibleRestErrorCollection

java.lang.Object
  extended by com.atlassian.bamboo.plugins.rest.common.exception.XmlCompatibleRestErrorCollection

@ExperimentalApi
public class XmlCompatibleRestErrorCollection
extends Object


Constructor Summary
XmlCompatibleRestErrorCollection()
           
XmlCompatibleRestErrorCollection(Collection<String> messages)
           
XmlCompatibleRestErrorCollection(String message)
           
 
Method Summary
 void addError(String error)
           
 Collection<String> getErrors()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlCompatibleRestErrorCollection

public XmlCompatibleRestErrorCollection()

XmlCompatibleRestErrorCollection

public XmlCompatibleRestErrorCollection(@NotNull
                                        String message)

XmlCompatibleRestErrorCollection

public XmlCompatibleRestErrorCollection(@NotNull
                                        Collection<String> messages)
Method Detail

addError

public void addError(String error)

getErrors

public Collection<String> getErrors()


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.