All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.elasticmq.rest.sqs.SQSException.scala Maven / Gradle / Ivy

The newest version!
package org.elasticmq.rest.sqs

import Constants._

class SQSException(val code: String,
                   val httpStatusCode: Int = 400,
                   errorType: String = "Sender") extends Exception {
  val message: String = code + "; see the SQS docs."

  def toXml(requestId: String) =
    
      
        {errorType}
        {code}
        {message}
        
      
      {requestId}
    
}

object SQSException {
  def invalidParameterValue = new SQSException(InvalidParameterValueErrorName)
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy